db.lessons.find({}, {slides:0});
db.bios.find( { }, { name: 1, contribs: 1, _id: 0 } )
db.wemessages.find( {$and: [ { CreateTime: {$gt: (startTime.getTime()/1000).toString()} }, { CreateTime: {$lt: (endTime.getTime()/1000).toString()} }, { Content: {$in: ['1','2','3','4','5']} } ]} );
db.lessons.update({}, {$set:{'course_id':'c.101'}});
db.lessons.update({}, {$set:{'course_id':'c.101'}}, {multi: true}); db.muusers.update({username: 'tom'}, {$set: {mobile: '6508639713'}}, {multi: true});
db.muusers.find().sort({firsttime: -1});
db.lessons.find({lesson: 1}, {slides: 0, mp3voice:0, wavvoice:0, wavvoicemin: 0}).pretty();
db.questions.find({'sequence_id': 1, 'pngslide': {$exists: false}}); db.mycollection.find( { "price" : { "$exists" : false } } )
db.translation_memory.find({mp3voice: {$exists: false}}, null, {limit: 100});
db.collection.remove();
db.lessons.find({lesson: 1}).toArray()[0].slides.join('').length
db.quizzes.renameCollection('questions');
db.questions.update({}, {$unset: {quiz_name:1}}, {multi: true}); db.learning_progress.update({}, {$unset: {lesson:1}}, {multi: true}); db.lessons.update({}, {$unset: {wavvoice:1, wavvoicemin:1}}, {multi: true});
db.students.update( { _id: 1 }, { $rename: { 'nickname': 'alias', 'cell': 'mobile' } } )