DeadNinja to SQL - any and all • edit-28 months agoSQL Dev learning MongoDBimagemessage-square50arrow-up1296arrow-down111file-text
arrow-up1285arrow-down1imageSQL Dev learning MongoDBDeadNinja to SQL - any and all • edit-28 months agomessage-square50file-text
minus-square@asterfieldlink29•8 months agoI’m no mongo fan, but this is ragebait. You can write it like this, but you can also write {age: {$gte: 25, $lt: 30}} If you’re going to dunk on mongo, let’s talk about how db.collection.update() replaces the whole record by default instead of updating keys
I’m no mongo fan, but this is ragebait.
You can write it like this, but you can also write {age: {$gte: 25, $lt: 30}}
If you’re going to dunk on mongo, let’s talk about how db.collection.update() replaces the whole record by default instead of updating keys