find-and-modify ( collection selector modifier -- mongodb-cmd )


Vocabulary
mongodb.driver

Inputs
collectionan object
selectoran object
modifieran object


Outputs
mongodb-cmdan object


Definition


: find-and-modify
( collection selector modifier -- mongodb-cmd )
[ findandmodify-cmd make-cmd ] 3dip
[ "findandmodify" set-cmd-opt ] [ "query" set-cmd-opt ]
[ "update" set-cmd-opt ] tri* ; inline