mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
GET license endpoint (#3651)
* GET license endpoint Signed-off-by: Spike Curtis <spike@coder.com> * SDK GetLicenses -> Licenses Signed-off-by: Spike Curtis <spike@coder.com> Signed-off-by: Spike Curtis <spike@coder.com>
This commit is contained in:
@@ -7,3 +7,9 @@ INSERT INTO
|
||||
)
|
||||
VALUES
|
||||
($1, $2, $3) RETURNING *;
|
||||
|
||||
|
||||
-- name: GetLicenses :many
|
||||
SELECT *
|
||||
FROM licenses
|
||||
ORDER BY (id);
|
||||
|
||||
Reference in New Issue
Block a user