Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit08447da

Browse files
committed
Fix copy pasta in query comments
1 parent3ae643a commit08447da

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎coderd/database/queries.sql.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/database/queries/templateversions.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ WHERE
1010
-- This is an important option for scripts that need to paginate without
1111
-- duplicating or missing data.
1212
WHEN @after_id :: uuid!='00000000-00000000-00000000-00000000' THEN (
13-
-- The pagination cursor is the lastuser of the previous page.
13+
-- The pagination cursor is the lastID of the previous page.
1414
-- The query is ordered by the created_at field, so select all
15-
--users after the cursor. We also want to include anyusers
15+
--rows after the cursor. We also want to include anyrows
1616
-- that share the created_at (super rare).
1717
created_at>= (
1818
SELECT
@@ -28,7 +28,7 @@ WHERE
2828
ELSE true
2929
END
3030
ORDER BY
31-
-- Deterministic and consistent ordering of allusers, even if they share
31+
-- Deterministic and consistent ordering of allrows, even if they share
3232
-- a timestamp. This is to ensure consistent pagination.
3333
(created_at, id)ASC OFFSET @offset_opt
3434
LIMIT

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp