luasql
luasql copied to clipboard
LuaSQL is a simple interface from Lua to a DBMS.
**A short post from SQL persistance.lua** local sqlite3 = require("lsqlite3") local db = sqlite3.open(app.dir() .. "/foo.db") db:exec[[ CREATE TABLE test (id INTEGER PRIMARY KEY AUTOINCREMENT, content); ]] print(db:errmsg()) db:exec[[ INSERT...
Hi, I am trying to load luasql.sqlite3 driver, it loads well with standard lua 5.4.4 but fails with luajit 2.1.0-beta3 with this error: undefined symbol: lua_newuserdatauv I have found the...
im trying to compile luasql mysql via luarocks from windows but output looks like this, i download lasted mysql server version . what does he want? ``` C:\Program Files (x86)\Microsoft...
Since today (Janary 11, 2022) [Github no longer supports pulling from the git protocol on port 9418](https://github.blog/2021-09-01-improving-git-protocol-security-github/). This means that trying to install luasql using luarocks will result in an...
I'm using debian buster, lua version 5.2.4, the lua-sql version in debian buster 2.3.1 is ok. But recently update luasql to version 2.6.0 and got error when executing. I download...
I am trying to retrieve data from a Filemaker database containing accented letters (such as é or è, with UTF 8 encoding) using luasql-odbc. For example, in the following code,...
fetch return all row data as sting. ``` local driver = require "luasql.odbc" local odbc_env = driver.odbc() local odbc_conn = odbc_env:connect("...","...","...") local odbc_cur = odbc_conn:execute('select .....') print(type(odbc_cur:fetch())) ``` return: ```...
Added this topic to an other compiling issue #87 . See now _its not the same erro_r. I get this error when try to compile: ``` link -dll -def:luasql/mysql.def -out:luasql/mysql.dll...
I had install lua rock 5.1. > # luarocks list > > Rocks installed for Lua 5.1 > --------------------------- > luasql-mysql > 2.6.0-1 (installed) - /usr/local/lib/luarocks/rocks-5.1 But when i run...
I tried to install luasql both mysql and jdbc version. I am struggling to install these. Spent days doing this. Will Appreciate any help. I installed LUA 5.1 from https://code.google.com/p/luaforwindows/downloads/list...