mongosh-snippets icon indicating copy to clipboard operation
mongosh-snippets copied to clipboard

An experimental plugin feature for mongosh

Results 4 mongosh-snippets issues
Sort by recently updated
recently updated
newest added

Function `tojson()` does not work for MinKey/MaxKey values: ``` x = {min: MinKey, max: 100} { min: [Function: MinKey] { fromExtendedJSON: [Function (anonymous)], toBSON: [Function: toBSON], help: [Function (anonymous)] Help...

Support for MinKey and MaxKey Check if property 'str' already exists on ObjectId Remove function ISODate() for mongosh > 2.31.

This is still code that is largely skunkworks-quality so will probably go through a couple more refactors before it's ready to be reviewed / merged but it's quite functional! One...

Add JSON and CSV output to change-stream-monitor snippet. - listChangeStreamsAsTable(extended?: boolean, allUsers?: boolean, nsFilter?: Array) : Alias for `listChangeStreams(extended?: boolean, allUsers?: boolean, nsFilter?: Array)` - listChangeStreamsAsJSON(extended?: boolean, allUsers?: boolean, nsFilter?:...