You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
296 B

  1. -- name: ListScripts :many
  2. SELECT * FROM script;
  3. -- name: SaveScript :exec
  4. REPLACE INTO script (name, data) VALUES (?, ?);
  5. -- name: ListScriptVariables :many
  6. SELECT * FROM script_variable;
  7. -- name: UpdateScriptVariables :exec
  8. REPLACE INTO script_variable (scope, name, value) VALUES (?, ?, ?);