Skip to content

lua-mongo-1.2.2

Choose a tag to compare

@neoxic neoxic released this 26 Jun 06:56
· 14 commits to master since this release

Absorb changes introduced in mongo-c-driver 1.16

mongo.BSON(): autodetect between BSON/JSON data

New API for consistency with Mongo C Driver's API:

  • collection:insertMany(document1, document2, ...)
  • collection:insertOne(document, [options])
  • collection:removeMany(query, [options])
  • collection:removeOne(query, [options])
  • collection:replaceOne(query, document, [options])
  • collection:updateMany(query, document, [options])
  • collection:updateOne(query, document, [options])

Minor fixes, tests & docs