You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
loop/loopdb/sqlc/queries/liquidity_params.sql

10 lines
252 B
SQL

-- name: UpsertLiquidityParams :exec
INSERT INTO liquidity_params (
id, params
) VALUES (
1, $1
) ON CONFLICT (id) DO UPDATE SET
params = excluded.params;
-- name: FetchLiquidityParams :one
SELECT params FROM liquidity_params WHERE id = 1;