2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-09 19:10:47 +00:00
loop/loopdb/sqlc/queries/liquidity_params.sql
2023-06-20 17:31:40 +02:00

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;