Jesus died at 33, so that can’t get returned in the query response lol

  • asterfield@lemmy.world
    link
    fedilink
    arrow-up
    29
    ·
    1 year ago

    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