{"Entry":{"collection":"func","key":"casefold","name":"casefold","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"17","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"18"}],"content_hash":"c325f86d36219acfca14372f7a4f3da5cebf2bce86dac83b741fda05eab13384","first_version":"18","group":"string","group_label":"String Functions And Operators","groups":["string"],"imported_at":"2026-09-14T21:49:48.643929+08:00","last_version":"20","name":"casefold","name_key":"casefold","position":3003,"present_in":["18","19","20"],"signature":"casefold ( text ) → text","signature_count":1,"slug":"casefold","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","summary":"Performs case folding of the input string according to the collation.","summary_zh":""}},"Definition":{"Collection":"func","Key":"casefold","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"casefold","SourceRevision":"2026-09-14T13:14:25.684213+00:00@99e6866c","Facts":{"description":"Performs case folding of the input string according to the collation. Case folding is similar to case conversion, but the purpose of case folding is to facilitate case-insensitive matching of strings, whereas the purpose of case conversion is to convert to a particular cased form. This function can only be used when the server encoding is UTF8.","description_html":"Performs case folding of the input string according to the collation. Case folding is similar to case conversion, but the purpose of case folding is to facilitate case-insensitive matching of strings, whereas the purpose of case conversion is to convert to a particular cased form. This function can only be used when the server encoding is \u003ccode class=\"literal\"\u003eUTF8\u003c/code\u003e.","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"],"prose_only":false,"signatures":[{"description":"Performs case folding of the input string according to the collation. Case folding is similar to case conversion, but the purpose of case folding is to facilitate case-insensitive matching of strings, whereas the purpose of case conversion is to convert to a particular cased form. This function can only be used when the server encoding is UTF8.","description_html":"Performs case folding of the input string according to the collation. Case folding is similar to case conversion, but the purpose of case folding is to facilitate case-insensitive matching of strings, whereas the purpose of case conversion is to convert to a particular cased form. This function can only be used when the server encoding is \u003ccode class=\"literal\"\u003eUTF8\u003c/code\u003e.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003ecasefold\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"casefold ( text ) → text","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-STRING-OTHER","file":"functions-string.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"casefold","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"casefold","Summary":"根据排序规则对输入字符串执行大小写折叠。大小写折叠与大小写转换类似，但其目的是方便字符串的不区分大小写匹配，而大小写转换的目的是将字符串转换为特定的大小写形式。此函数只能在服务器编码为UTF8时使用。","BodyHTML":"根据排序规则对输入字符串执行大小写折叠。大小写折叠与大小写转换类似，但其目的是方便字符串的不区分大小写匹配，而大小写转换的目的是将字符串转换为特定的大小写形式。此函数只能在服务器编码为\u003ccode\u003eUTF8\u003c/code\u003e时使用。\u003cpre\u003ecasefold ( text ) → text\u003c/pre\u003e根据排序规则对输入字符串执行大小写折叠。大小写折叠与大小写转换类似，但其目的是方便字符串的不区分大小写匹配，而大小写转换的目的是将字符串转换为特定的大小写形式。此函数只能在服务器编码为\u003ccode\u003eUTF8\u003c/code\u003e时使用。","SourceRevision":"ca936764","ContentHash":"650100d27c9a09a9a441ebfba83a23c778a0cfdae351ec96df6482f791dff56c","Payload":{"description_zh":"根据排序规则对输入字符串执行大小写折叠。大小写折叠与大小写转换类似，但其目的是方便字符串的不区分大小写匹配，而大小写转换的目的是将字符串转换为特定的大小写形式。此函数只能在服务器编码为UTF8时使用。","description_zh_html":"根据排序规则对输入字符串执行大小写折叠。大小写折叠与大小写转换类似，但其目的是方便字符串的不区分大小写匹配，而大小写转换的目的是将字符串转换为特定的大小写形式。此函数只能在服务器编码为\u003ccode class=\"literal\"\u003eUTF8\u003c/code\u003e时使用。","signatures":[{"description_zh":"根据排序规则对输入字符串执行大小写折叠。大小写折叠与大小写转换类似，但其目的是方便字符串的不区分大小写匹配，而大小写转换的目的是将字符串转换为特定的大小写形式。此函数只能在服务器编码为UTF8时使用。","description_zh_html":"根据排序规则对输入字符串执行大小写折叠。大小写折叠与大小写转换类似，但其目的是方便字符串的不区分大小写匹配，而大小写转换的目的是将字符串转换为特定的大小写形式。此函数只能在服务器编码为\u003ccode class=\"literal\"\u003eUTF8\u003c/code\u003e时使用。","returns":"text","text":"casefold ( text ) → text","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"f1eaf520543062836b92598d987bc8221feeebb5f0a6752b93c69e5ae91b74ad","Text":"casefold ( text ) → text","Returns":"text","Payload":{"description":"Performs case folding of the input string according to the collation. Case folding is similar to case conversion, but the purpose of case folding is to facilitate case-insensitive matching of strings, whereas the purpose of case conversion is to convert to a particular cased form. This function can only be used when the server encoding is UTF8.","description_html":"Performs case folding of the input string according to the collation. Case folding is similar to case conversion, but the purpose of case folding is to facilitate case-insensitive matching of strings, whereas the purpose of case conversion is to convert to a particular cased form. This function can only be used when the server encoding is \u003ccode class=\"literal\"\u003eUTF8\u003c/code\u003e.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003ecasefold\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"casefold ( text ) → text","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
