DeadNinja@lemmy.world to SQL - any and all@lemmy.world · edit-211 months agoSQL Dev learning MongoDBlemmy.worldimagemessage-square51fedilinkarrow-up1296arrow-down111file-text
arrow-up1285arrow-down1imageSQL Dev learning MongoDBlemmy.worldDeadNinja@lemmy.world to SQL - any and all@lemmy.world · edit-211 months agomessage-square51fedilinkfile-text
minus-squareasterfield@lemmy.worldlinkfedilinkarrow-up29·11 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