Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
named sql args
  • Loading branch information
aslilac committed May 17, 2024
commit 4ee37e2330fd5669bfa3305881d2d371e4e38e41
10 changes: 5 additions & 5 deletions coderd/database/queries.sql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions coderd/database/queries/organizations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ VALUES
UPDATE
organizations
SET
updated_at = $2,
name = $3
updated_at = @updated_at,
name = @name
WHERE
id = $1
id = @id
RETURNING *;

-- name: DeleteOrganization :exec
Expand Down