Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here


A simple lua mongo driver

Subscribe to updates I use lua-mongo

Statistics on lua-mongo

Number of watchers on Github 57
Number of open issues 1
Main language C
Open pull requests 0+
Closed pull requests 0+
Last commit over 3 years ago
Repo Created about 7 years ago
Repo Last Updated over 2 years ago
Size 17 KB
Organization / Authorcloudwu
Page Updated
Do you use lua-mongo? Leave a review!
View lua-mongo activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating lua-mongo for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


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


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

make win


make linux


  • 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

lua-mongo open issues Ask a question     (View All Issues)
  • about 6 years the lua_socket.c <memory.h> missing
lua-mongo list of languages used
Other projects in C