hi
if my sqlite database contains the following line
id content content2
5 hello world
how can i obtain just the word, world under content2 into variable
im using the following code but it prints out the full line
full source is in zip as above
local tbl = sqlite.exec(db, “select * from test where id=5”)
if tbl then
local str = json.prettify(tbl)
print(str)
data.text = str
end
end
local function pluginListener( event )
data.text = data.text …’\n’…json.prettify(event)
end