Merge pull request #141 from eunmin/add_currentDate_operator
Add currentDate operator
This commit is contained in:
commit
668e46d57f
1 changed files with 6 additions and 0 deletions
|
|
@ -286,3 +286,9 @@
|
|||
(defoperator $search)
|
||||
(defoperator $language)
|
||||
(defoperator $natural)
|
||||
|
||||
;; $currentDate operator sets the value of a field to the current date, either as a Date or a timestamp. The default type is Date.
|
||||
;;
|
||||
;; EXAMPLES:
|
||||
;; (mgcol/update coll { :_id oid } { $currentDate { :lastModified true } })
|
||||
(defoperator $currentDate)
|
||||
|
|
|
|||
Loading…
Reference in a new issue