{"Entry":{"collection":"func","key":"enum-last","name":"enum_last","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.2","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.3"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"38218194544303c4eab655715535aee7854832d0ca45edd23858b5b04641cc13","derived_content_hash":"e7ecc9a4af3adb36237b31304b347813dc6d8e6e51a3c91f7ae730505db2f7c4","first_version":"8.3","group":"enum","group_label":"Enum Support Functions","groups":["enum"],"imported_at":"2026-09-27T17:57:28.590038+08:00","last_version":"20","name":"enum_last","name_key":"enum_last","position":9001,"present_in":["8.3","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":"wiki-repair-20261023:54f5584be14fed469941ac55173a305c4a303050226a123c1a496b23081ff113","receipt_sha256":"da84d29e1c9aa303f4c99a3673e94d47c900e3a993afa079246f2c4141be0801","repair":"wiki-repair-20261023"},"signature":"enum_last ( anyenum ) → anyenum","signature_count":1,"slug":"enum-last","source_rev":"wiki-repair-20261023:94207534656a22d3cde41322fd2a367197e2eb1171b76ec2c7e576405cc73753","summary":"Returns the last value of the input enum type.","summary_zh":""}},"Definition":{"Collection":"func","Key":"enum-last","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"enum-last","SourceRevision":"wiki-repair-20261023:94207534656a22d3cde41322fd2a367197e2eb1171b76ec2c7e576405cc73753","Facts":{"description":"Returns the last value of the input enum type.","description_html":"Returns the last value of the input enum type.","description_zh":"返回输入枚举类型的最后一个值。","description_zh_html":"返回输入枚举类型的最后一个值。","doc":{"anchor":"FUNCTIONS-ENUM-TABLE","file":"functions-enum.html","slug":"18"},"group":"enum","group_label":"Enum Support Functions","lang":"en","layout":"table-new","pages":["functions-enum.html"],"prose_only":false,"signatures":[{"description":"Returns the last value of the input enum type.","description_html":"Returns the last value of the input enum type.","description_zh":"返回输入枚举类型的最后一个值。","description_zh_html":"返回输入枚举类型的最后一个值。","examples":[{"expr":"enum_last(null::rainbow)","result":"purple"}],"html":"\u003ccode class=\"function\"\u003eenum_last\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanyenum\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyenum\u003c/code\u003e","returns":"anyenum","text":"enum_last ( anyenum ) → anyenum","zh_from":"same-version-pgdoc"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-enum.html","sha256":"7dd3bf04c73031f2c1421ae099fff9b551e451d0a51ecaa61aa8ec83e6f4c61e"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-pgdoc"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-ENUM-TABLE","file":"functions-enum.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"enum-last","SourceDatabase":"center","Version":"18","Locale":"en","Title":"enum_last","Summary":"Returns the last value of the input enum type.","BodyHTML":"Returns the last value of the input enum type.","SourceRevision":"wiki-repair-20261023:94207534656a22d3cde41322fd2a367197e2eb1171b76ec2c7e576405cc73753","ContentHash":"d1115249901bd4f105e105618280c12299d70e6607a931e14ded72530100b6d3","Payload":{"description":"Returns the last value of the input enum type.","description_html":"Returns the last value of the input enum type.","signatures":[{"description":"Returns the last value of the input enum type.","description_html":"Returns the last value of the input enum type.","description_zh":"返回输入枚举类型的最后一个值。","description_zh_html":"返回输入枚举类型的最后一个值。","examples":[{"expr":"enum_last(null::rainbow)","result":"purple"}],"html":"\u003ccode class=\"function\"\u003eenum_last\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanyenum\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyenum\u003c/code\u003e","returns":"anyenum","text":"enum_last ( anyenum ) → anyenum","zh_from":"same-version-pgdoc"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.3","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":"7474a5613131367dfe9a83a901682a42573638e51448c65313b85bafb0819273","Text":"enum_last ( anyenum ) → anyenum","Returns":"anyenum","Payload":{"description":"Returns the last value of the input enum type.","description_html":"Returns the last value of the input enum type.","description_zh":"返回输入枚举类型的最后一个值。","description_zh_html":"返回输入枚举类型的最后一个值。","examples":[{"expr":"enum_last(null::rainbow)","result":"purple"}],"html":"\u003ccode class=\"function\"\u003eenum_last\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanyenum\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyenum\u003c/code\u003e","returns":"anyenum","text":"enum_last ( anyenum ) → anyenum","zh_from":"same-version-pgdoc"}}],"Spellings":null,"SQLState":null,"Evidence":null}
