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=== |