Skip to content

Releases: neoxic/lua-mongo

lua-mongo-1.2.3

01 Apr 21:20
Compare
Choose a tag to compare

Minor bugfixes and improvements

lua-mongo-1.2.2

26 Jun 06:56
Compare
Choose a tag to compare

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

lua-mongo-1.2.1

27 Nov 00:07
Compare
Choose a tag to compare

Absorbed changes introduced in mongo-c-driver 1.13.0
Better type errors/checks
Minor fixes

lua-mongo-1.2.0

27 Jul 03:47
Compare
Choose a tag to compare

Support for read preferences
Fix: query is mandatory in collection:count() and collection:remove()

Removed/renamed due to deprecation in mongo-c-driver 1.11:

  • cursor:isAlive() -> cursor:more()
  • collection:stats()
  • collection:validate()

lua-mongo-1.1.0

23 Mar 03:59
Compare
Choose a tag to compare

API updated to libmongoc 1.9.0

Minor fixes