Can any one point in the right direction with the sqllite3 plugin. I have read the documentation over an over again and still cannot figure it it.
I know how to loop threw results with my code below.
for row in db:nrows("SELECT SUM(meters) as sum_meters FROM mytable ") do
end
I dont want a loop I just want to excute the sqllite code once with a call back to the follow code below.
SELECT SUM(meters) as sum_meters FROM mytable
If anyone can point me in the right direct i would be gratefull.
I know how to loop threw results with my code below.
for row in db:nrows("SELECT SUM(meters) as sum_meters FROM mytable ") do
end
I dont want a loop I just want to excute the sqllite code once with a call back to the follow code below.
SELECT SUM(meters) as sum_meters FROM mytable
If anyone can point me in the right direct i would be gratefull.