You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot find any docs on Execute syntax. For example, I have a Settings collection with Key and Value fields. What's the exact syntax for inserting and updating?
// insert
db.Execute("insert into settings values (?, ?)", key, value);
// update
db.Execute("update settings set value = ? where key = ?", key, value);
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I cannot find any docs on Execute syntax. For example, I have a Settings collection with Key and Value fields. What's the exact syntax for inserting and updating?
Beta Was this translation helpful? Give feedback.
All reactions