$ luarocks install lua-mongo
lua-mongo is a binding to MongoDB C Driver for Lua:
- Unified API for MongoDB commands, CRUD operations and GridFS in MongoDB C Driver.
- Support for data transformation metamethods/handlers when converting to/from BSON documents.
- Transparent conversion from Lua/JSON to BSON for convenience.
- Automatic conversion of Lua numbers to/from BSON Int32, Int64 and Double types depending on their capacity without precision loss (when Lua allows it). Manual conversion is also available.
Versions
Dependencies
lua >= 5.1