{"Entry":{"collection":"func","key":"first-value","name":"first_value","aliases":[],"metadata":{"changed_in":["19"],"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"},{"descriptions_changed":false,"doc_overhaul":false,"from":"18","group_changed":null,"signatures":{"added":["first_value ( value anyelement ) [ null treatment ] → anyelement"],"removed":["first_value ( value anyelement ) → anyelement"]},"status":"changed","to":"19"}],"content_hash":"c8354a3429ae58d115b031e9df6cba69fd008a05dd45f75f9394f05c72a648b2","derived_content_hash":"2241ccc121c45b13aa85e6a6dd7ed64728a26dbe6af912edbce891d7eb878b3b","first_version":"8.4","group":"window","group_label":"Window Functions","groups":["window"],"imported_at":"2026-09-27T17:57:28.989175+08:00","last_version":"20","name":"first_value","name_key":"first_value","position":22000,"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"],"repair_provenance":{"original_source_revision":"b7bd9cda","receipt_sha256":"de6f4b049f2576305f75d5a816e438ecd2e4f094d28e5c6fcd5286af939a2469","repair":"wiki-repair-20261023"},"signature":"first_value ( value anyelement ) [ null treatment ] → anyelement","signature_count":1,"slug":"first-value","source_rev":"wiki-repair-20261023:11acdeb6accfb7498df3df1d8ce00dcbb12ff75d73415cfb75eb088fb5df47dd","summary":"Returns value evaluated at the row that is the first row of the window frame.","summary_zh":""}},"Definition":{"Collection":"func","Key":"first-value","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"first-value","SourceRevision":"wiki-repair-20261023:11acdeb6accfb7498df3df1d8ce00dcbb12ff75d73415cfb75eb088fb5df47dd","Facts":{"description":"Returns value evaluated at the row that is the first row of the window frame.","description_html":"Returns \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e evaluated at the row that is the first row of the window frame.","description_zh":"返回在窗口帧的第一行求得的 value。","description_zh_html":"返回在窗口帧的第一行求得的 \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e。","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 value evaluated at the row that is the first row of the window frame.","description_html":"Returns \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e evaluated at the row that is the first row of the window frame.","description_zh":"返回在窗口帧的第一行求得的 value。","description_zh_html":"返回在窗口帧的第一行求得的 \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003efirst_value\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eanyelement\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyelement\u003c/code\u003e","returns":"anyelement","text":"first_value ( value anyelement ) → anyelement","zh_from":"same-version-pgdoc"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-window.html","sha256":"859f0e20306eeaf9a15406f95e01cb81a166cfbe2fd21534fc44df3f903b4e6d"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-pgdoc"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-WINDOW-TABLE","file":"functions-window.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"first-value","SourceDatabase":"center","Version":"18","Locale":"en","Title":"first_value","Summary":"Returns value evaluated at the row that is the first row of the window frame.","BodyHTML":"Returns \u003cem\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e evaluated at the row that is the first row of the window frame.","SourceRevision":"wiki-repair-20261023:11acdeb6accfb7498df3df1d8ce00dcbb12ff75d73415cfb75eb088fb5df47dd","ContentHash":"aa8a4792e5e2b00c82643a424f0710d89c4c21dc48ca02c63f4434c801942697","Payload":{"description":"Returns value evaluated at the row that is the first row of the window frame.","description_html":"Returns \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e evaluated at the row that is the first row of the window frame.","signatures":[{"description":"Returns value evaluated at the row that is the first row of the window frame.","description_html":"Returns \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e evaluated at the row that is the first row of the window frame.","description_zh":"返回在窗口帧的第一行求得的 value。","description_zh_html":"返回在窗口帧的第一行求得的 \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003efirst_value\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eanyelement\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyelement\u003c/code\u003e","returns":"anyelement","text":"first_value ( value anyelement ) → anyelement","zh_from":"same-version-pgdoc"}]}},"RequestedLocale":"en","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":"2814a6fbac7ba0a238f83b79dbf13245a192bda097dbae08e77f4d8798404007","Text":"first_value ( value anyelement ) → anyelement","Returns":"anyelement","Payload":{"description":"Returns value evaluated at the row that is the first row of the window frame.","description_html":"Returns \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e evaluated at the row that is the first row of the window frame.","description_zh":"返回在窗口帧的第一行求得的 value。","description_zh_html":"返回在窗口帧的第一行求得的 \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003efirst_value\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eanyelement\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyelement\u003c/code\u003e","returns":"anyelement","text":"first_value ( value anyelement ) → anyelement","zh_from":"same-version-pgdoc"}}],"Spellings":null,"SQLState":null,"Evidence":null}
