A simple lua mongo driver
C Lua Makefile
Latest commit d71edbc Mar 16, 2017 @cloudwu add LUAMOD_API
Permalink
Failed to load latest commit information.
LICENSE hello world Jun 18, 2013
Makefile add LUAMOD_API Mar 16, 2017
README.md hello world Jun 18, 2013
lua-mongo.c add LUAMOD_API Mar 16, 2017
lua-socket.c add LUAMOD_API Mar 16, 2017
mongo.lua change api name : bson.encode_order Mar 12, 2014
test.lua mongdb need sorted dict for runcommand Mar 12, 2014

README.md

Introduction

This is a simple lua mongo driver, work in progress.

Building

Install lua-bson first. https://github.com/cloudwu/lua-bson

make win

or

make linux

Features

  • connect to mongod
  • runCommand
  • insert document
  • update document
  • find return basic cursor, cursor hasNext() and next()
  • findone

Todo list

  • write concern
  • replica set
  • gridFS
  • tailable cursor
  • more options for cursor
  • more command
  • and more ...

Getting started

See test.lua