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.
11 lines
296 B
11 lines
296 B
-- name: ListScripts :many
|
|
SELECT * FROM script;
|
|
|
|
-- name: SaveScript :exec
|
|
REPLACE INTO script (name, data) VALUES (?, ?);
|
|
|
|
-- name: ListScriptVariables :many
|
|
SELECT * FROM script_variable;
|
|
|
|
-- name: UpdateScriptVariables :exec
|
|
REPLACE INTO script_variable (scope, name, value) VALUES (?, ?, ?);
|