Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mongosh findone

use database-name

db.users.findOne({ slug: 'username' })
 
PREVIOUS NEXT
Tagged: #mongosh #findone
ADD COMMENT
Topic
Name
7+7 =