If I have:
And I want to add:
So I can do this:
How do I do it? Can I create a class called aard_db and add the methods from sqlite3.dll?
assert (package.loadlib("sqlite3.dll","luaopen_luasql_sqlite3")) ()
aard_db = assert(sqlite3.open_memory("aard"))
And I want to add:
function aard_db:test(arg)
self.nrows(arg)
return something
end
So I can do this:
aard_db:test("something")
How do I do it? Can I create a class called aard_db and add the methods from sqlite3.dll?