local sqlite3 = require("lsqlite3")--加载sqlite3模块
local db = sqlite3.open("xxxxx")--打开数据库
db:exec("Select Message From Chat_xxxxx Limit 1", function (ud, ncols, values, names)
for k,v in pairs(values) do
logDebug(v)
end
return sqlite3.OK
end)
db:close();--关闭数据库