-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Usability
-
None
-
Environment:all
I would like to ask for the following feature:
on inserts/updates I would like to have a "placeholder" like "$sysdate" as argument, telling the database engine to replace the "$sysdate-placeholder" by the current database UTC before putting it in the internal mongodb queue.
e.g.: db.coll.insert(
{"tx":"test string","timestamp":$sysdate})
The advantage would be that one can be sure that sorting by the timestamp of the document field results in the 100% sortorder of insertion; if I insert data from different machines, I have no guarantee about the insertion sortorder in the internal queue of MongoDB for persisting ( depending on the application delay for "getting the data and pushing it to mongodb" ).
Thank you for taking this into consideration,ยด
- duplicates
-
SERVER-10911 Add $currentDate update modifier
- Closed
- is related to
-
SERVER-13695 Support $currentDate expression for insert
- Backlog