yugabyte/yugabyte-db
在 GitHub 查看[docs] The YB doc account of SELECT misses the FETCH and FOR UPDATE clauses
Open
#6,147 创建于 2020年10月25日
area/ysqlhelp wantedkind/enhancementpriority/medium
仓库指标
- Star
- (8,229 star)
- PR 合并指标
- (平均合并 17天 21小时) (30 天内合并 92 个 PR)
描述
Jira Link: DB-2202
The PostgreSQL 11 documentation describes the FETCH clause thus:
[ FETCH { FIRST | NEXT } [ count ] { ROW | ROWS } ONLY ]
And it describes the FOR UPDATE clause thus:
[ FOR { UPDATE | NO KEY UPDATE | SHARE | KEY SHARE } [ OF table_name [, ...] ] [ NOWAIT | SKIP LOCKED ] [...] ]
But the YB doc for SELECT is missing these clauses altogether.