{"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","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"],"signature":"enum_last ( anyenum ) → anyenum","signature_count":1,"slug":"enum-last","source_rev":"b7bd9cda","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":"b7bd9cda","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":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-ENUM-TABLE","file":"functions-enum.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"enum-last","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"enum_last","Summary":"返回输入枚举类型的最后一个值。","BodyHTML":"返回输入枚举类型的最后一个值。\u003cpre\u003eenum_last ( anyenum ) → anyenum\u003c/pre\u003e返回输入枚举类型的最后一个值。","SourceRevision":"ca936764","ContentHash":"bf31afbf1a52768f8e996464d76fbab1fc1c983037ebb7e54d360a342ce1c575","Payload":{"description_zh":"返回输入枚举类型的最后一个值。","description_zh_html":"返回输入枚举类型的最后一个值。","signatures":[{"description_zh":"返回输入枚举类型的最后一个值。","description_zh_html":"返回输入枚举类型的最后一个值。","returns":"anyenum","text":"enum_last ( anyenum ) → anyenum","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
