Skip to content

LegendZhu/lua-mongo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple lua mongo driver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 65.2%
  • Lua 32.9%
  • Makefile 1.9%