DeadNinja@lemmy.world to SQL - any and all@lemmy.world · edit-21 year agoSQL Dev learning MongoDBlemmy.worldimagemessage-square50fedilinkarrow-up1297arrow-down111file-text
arrow-up1286arrow-down1imageSQL Dev learning MongoDBlemmy.worldDeadNinja@lemmy.world to SQL - any and all@lemmy.world · edit-21 year agomessage-square50fedilinkfile-text
minus-squareasterfield@lemmy.worldlinkfedilinkarrow-up29·1 year 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