mirror of https://github.com/lightninglabs/loop
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.
10 lines
252 B
MySQL
10 lines
252 B
MySQL
1 year ago
|
-- 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;
|