Add operator

This commit is contained in:
eunmin 2016-08-19 14:19:50 +09:00
parent 5033018119
commit df09c4085d

View file

@ -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)