{"Entry":{"collection":"func","key":"row-number","name":"row_number","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"5c47b649a9ba5835493efd6b99d98861591ca758e92a7dd836e9cdc20e4bb5b4","first_version":"8.4","group":"window","group_label":"Window Functions","groups":["window"],"imported_at":"2026-09-27T17:57:29.011806+08:00","last_version":"20","name":"row_number","name_key":"row_number","position":22006,"present_in":["8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"row_number () → bigint","signature_count":1,"slug":"row-number","source_rev":"b7bd9cda","summary":"Returns the number of the current row within its partition, counting from 1.","summary_zh":""}},"Definition":{"Collection":"func","Key":"row-number","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"row-number","SourceRevision":"b7bd9cda","Facts":{"description":"Returns the number of the current row within its partition, counting from 1.","description_html":"Returns the number of the current row within its partition, counting from 1.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-WINDOW-TABLE","file":"functions-window.html","slug":"18"},"group":"window","group_label":"Window Functions","lang":"en","layout":"table-new","pages":["functions-window.html"],"prose_only":false,"signatures":[{"description":"Returns the number of the current row within its partition, counting from 1.","description_html":"Returns the number of the current row within its partition, counting from 1.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003erow_number\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"row_number () → bigint","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-WINDOW-TABLE","file":"functions-window.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"row-number","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"row_number","Summary":"返回当前行在其分区内的编号，从 1 开始计数。","BodyHTML":"返回当前行在其分区内的编号，从 1 开始计数。\u003cpre\u003erow_number () → bigint\u003c/pre\u003e返回当前行在其分区内的编号，从 1 开始计数。","SourceRevision":"ca936764","ContentHash":"2c1b6585fb1004c5fb17d55fc946aa1b56769024c51248670970ed9eb6d034ac","Payload":{"description_zh":"返回当前行在其分区内的编号，从 1 开始计数。","description_zh_html":"返回当前行在其分区内的编号，从 1 开始计数。","signatures":[{"description_zh":"返回当前行在其分区内的编号，从 1 开始计数。","description_zh_html":"返回当前行在其分区内的编号，从 1 开始计数。","returns":"bigint","text":"row_number () → bigint","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"46b903953f45b969e64bf72efcddd50c5cb87e65f024b27260baafff5d8cc941","Text":"row_number () → bigint","Returns":"bigint","Payload":{"description":"Returns the number of the current row within its partition, counting from 1.","description_html":"Returns the number of the current row within its partition, counting from 1.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003erow_number\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"row_number () → bigint","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
