Skip to content
 
 

Repository files navigation

LuaSQL
https://lunarmodules.github.io/luasql/

LuaSQL is a simple interface from Lua to a DBMS. It enables a Lua program to:

    * Connect to ODBC, ADO, Oracle, MySQL, SQLite, Firebird and PostgreSQL databases;
    * Execute arbitrary SQL statements;
    * Retrieve results in a row-by-row cursor fashion.

LuaSQL is free software and uses the same license as Lua 5.1.


Source code for LuaSQL can be downloaded from its GitHub repository.

### Differences from upstream

The ODBC driver has been changed here to use `SQL_WVARCHAR` for `execute` instead of `SQL_CHAR`, while this is technically a breaking change it was necessary for us since we are working with UTF-8 data, and the database backend relies heavily on variable data.

About

LuaSQL is a simple interface from Lua to a DBMS. This is repackaged for Lit package manager.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages