lua-mongo

MongoDB Driver for Lua

MIT License

Stars
141
Committers
2

Bot releases are hidden (Show)

lua-mongo - lua-mongo-1.2.3 Latest Release

Published by neoxic over 3 years ago

Minor bugfixes and improvements

lua-mongo - lua-mongo-1.2.2

Published by neoxic over 4 years ago

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 - lua-mongo-1.2.1

Published by neoxic almost 6 years ago

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

lua-mongo - lua-mongo-1.2.0

Published by neoxic about 6 years ago

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 - lua-mongo-1.1.0

Published by neoxic over 6 years ago

API updated to libmongoc 1.9.0

Minor fixes