Hi,
I’m trying to update Sqlite database at one point using
local q = ("UPDATE main SET status=1 WHERE route\_id=" .. routeId) db:exec( q )
And this one works just fine. The problem is, when I would like to include two variables into the query.
local q = ("UPDATE main SET topHeight=" .. tmpHeight .. "WHERE route\_id=" .. routeId) db:exec( q )
Can anyone help please?