List:General Discussion« Previous MessageNext Message »
From:Cosmin Apreutesei Date:May 14 2013 10:06am
Subject:[ANN] mysql binding for LuaJIT
View as plain text  
Hi,

I made a new mysql binding for LuaJIT, here it is:

https://code.google.com/p/lua-files/wiki/mysql

Features:

  - covers all of the functionality provided by the mysql Connector/C 6.1 API
  - all data types are supported with multiple options for conversion
  - prepared statements, avoiding dynamic allocation and type
conversions when fetching rows
  - all C calls are checked for errors and Lua errors are raised
  - all C objects are tied to Lua's garbage collector
  - lightweight OOP-style API via ffi.metatype
  - no external dependencies

Only tested with Windows for now but more tests are coming.

Enjoy,
Cosmin.
Thread
[ANN] mysql binding for LuaJITCosmin Apreutesei14 May