Changes

From SME Server
Jump to navigationJump to search
129 bytes added ,  11:52, 7 October 2020
no edit summary
Line 367: Line 367:  
Find a single user:
 
Find a single user:
   −
db.getCollection('users').find( {'username':'SomeUserName'} )
+
db.getCollection('users').find( {'username':'SomeUserName'} )
    +
Get limited information:
 +
 +
db.getCollection('users').find({}, {"username":1, "settings.preferences.showMessageInMainThread":1})
    
===Database Backup===
 
===Database Backup===

Navigation menu