Add operator
This commit is contained in:
parent
5033018119
commit
df09c4085d
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