Good Day to All!
I have scoured the forums world wide and can not find an example showing multiple variables used in an SQLite UPDATE statement. The following uses one variable(shooter) and I need to use more than one, but not necessarily all columns in the shooters table. Would appreciate anyone’s assistance!
local shooter = “Tom”
local isOwner = “yes”
– this works for a single variable. What about multiples???
local updateData = [[UPDATE shooters SET name =’]]… shooter … [[’ WHERE owner=’]]… isOwner …[[’;]]
db:exec( updateData )