{"Entry":{"collection":"func","key":"reverse","name":"reverse","aliases":[],"metadata":{"changed_in":["18"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.0","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.1"},{"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":"17","group_changed":null,"signatures":{"added":["reverse ( bytea ) → bytea"],"removed":[]},"status":"changed","to":"18"}],"content_hash":"90f4efa6a2c2f2131b7d0c69e5d9ccc248edd6e757ff04f406401691fdd22010","first_version":"9.1","group":"string","group_label":"String Functions And Operators","groups":["string","binarystring"],"imported_at":"2026-09-14T21:49:48.667731+08:00","last_version":"20","name":"reverse","name_key":"reverse","position":3038,"present_in":["9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"reverse ( text ) → text","signature_count":2,"slug":"reverse","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","summary":"Reverses the order of the characters in the string.","summary_zh":""}},"Definition":{"Collection":"func","Key":"reverse","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"reverse","SourceRevision":"2026-09-14T13:14:25.684213+00:00@99e6866c","Facts":{"description":"Reverses the order of the characters in the string.","description_html":"Reverses the order of the characters in the string.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-STRING-OTHER","file":"functions-string.html","slug":"18"},"group":"string","group_label":"String Functions And Operators","lang":"en","layout":"table-new","pages":["functions-string.html","functions-binarystring.html"],"prose_only":false,"signatures":[{"description":"Reverses the order of the characters in the string.","description_html":"Reverses the order of the characters in the string.","description_zh":"","description_zh_html":"","examples":[{"expr":"reverse('abcde')","result":"edcba"}],"html":"\u003ccode class=\"function\"\u003ereverse\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"reverse ( text ) → text","zh_from":""},{"description":"Reverses the order of the bytes in the binary string.","description_html":"Reverses the order of the bytes in the binary string.","description_zh":"","description_zh_html":"","examples":[{"expr":"reverse('\\xabcd'::bytea)","result":"\\xcdab"}],"html":"\u003ccode class=\"function\"\u003ereverse\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebytea\u003c/code\u003e","returns":"bytea","text":"reverse ( bytea ) → bytea","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-STRING-OTHER","file":"functions-string.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"reverse","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"reverse","Summary":"颠倒字符串中字符的顺序。","BodyHTML":"颠倒字符串中字符的顺序。\u003cpre\u003ereverse ( text ) → text\u003c/pre\u003e颠倒字符串中字符的顺序。\u003cpre\u003ereverse ( bytea ) → bytea\u003c/pre\u003e反转二进制字符串中字节的顺序。","SourceRevision":"ca936764","ContentHash":"62972896c1616f0213a63a6a82122ceec5d27fd48fe07bc0b914c61a30e2ad96","Payload":{"description_zh":"颠倒字符串中字符的顺序。","description_zh_html":"颠倒字符串中字符的顺序。","signatures":[{"description_zh":"颠倒字符串中字符的顺序。","description_zh_html":"颠倒字符串中字符的顺序。","returns":"text","text":"reverse ( text ) → text","zh_from":"doc"},{"description_zh":"反转二进制字符串中字节的顺序。","description_zh_html":"反转二进制字符串中字节的顺序。","returns":"bytea","text":"reverse ( bytea ) → bytea","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"daf4734bb5e0a44e68f43d5b0707cba3763c66c49648f1dcf6f1dad4d2bba291","Text":"reverse ( text ) → text","Returns":"text","Payload":{"description":"Reverses the order of the characters in the string.","description_html":"Reverses the order of the characters in the string.","description_zh":"","description_zh_html":"","examples":[{"expr":"reverse('abcde')","result":"edcba"}],"html":"\u003ccode class=\"function\"\u003ereverse\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"reverse ( text ) → text","zh_from":""}},{"Version":"18","Ordinal":1,"Hash":"f36e751aea287a0a00267753a4faa4d71d188a532bf4454f277a4bba8b65ae21","Text":"reverse ( bytea ) → bytea","Returns":"bytea","Payload":{"description":"Reverses the order of the bytes in the binary string.","description_html":"Reverses the order of the bytes in the binary string.","description_zh":"","description_zh_html":"","examples":[{"expr":"reverse('\\xabcd'::bytea)","result":"\\xcdab"}],"html":"\u003ccode class=\"function\"\u003ereverse\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebytea\u003c/code\u003e","returns":"bytea","text":"reverse ( bytea ) → bytea","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
