{"Entry":{"collection":"func","key":"array-prepend","name":"array_prepend","aliases":[],"metadata":{"changed_in":["14"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"7.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"7.4"},{"descriptions_changed":true,"doc_overhaul":false,"from":"7.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"8.0"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"},{"descriptions_changed":true,"doc_overhaul":false,"from":"13","group_changed":null,"signatures":{"added":["array_prepend ( anycompatible, anycompatiblearray ) → anycompatiblearray"],"removed":["array_prepend ( anyelement, anyarray ) → anyarray"]},"status":"changed","to":"14"}],"content_hash":"ee58252b3cf14e2b470697cfba4c2d1b3adb184ae454c28e9f7c2a98835c7db2","first_version":"7.4","group":"array","group_label":"Array Functions And Operators","groups":["array"],"imported_at":"2026-09-27T17:57:28.884355+08:00","last_version":"20","name":"array_prepend","name_key":"array_prepend","position":19009,"present_in":["7.4","8.0","8.1","8.2","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":"array_prepend ( anycompatible, anycompatiblearray ) → anycompatiblearray","signature_count":1,"slug":"array-prepend","source_rev":"b7bd9cda","summary":"Prepends an element to the beginning of an array (same as the anycompatible || anycompatiblearray operator).","summary_zh":""}},"Definition":{"Collection":"func","Key":"array-prepend","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"array-prepend","SourceRevision":"b7bd9cda","Facts":{"description":"Prepends an element to the beginning of an array (same as the anycompatible || anycompatiblearray operator).","description_html":"Prepends an element to the beginning of an array (same as the \u003ccode class=\"type\"\u003eanycompatible\u003c/code\u003e \u003ccode class=\"literal\"\u003e||\u003c/code\u003e \u003ccode class=\"type\"\u003eanycompatiblearray\u003c/code\u003e operator).","description_zh":"","description_zh_html":"","doc":{"anchor":"ARRAY-FUNCTIONS-TABLE","file":"functions-array.html","slug":"18"},"group":"array","group_label":"Array Functions And Operators","lang":"en","layout":"table-new","pages":["functions-array.html"],"prose_only":false,"signatures":[{"description":"Prepends an element to the beginning of an array (same as the anycompatible || anycompatiblearray operator).","description_html":"Prepends an element to the beginning of an array (same as the \u003ccode class=\"type\"\u003eanycompatible\u003c/code\u003e \u003ccode class=\"literal\"\u003e||\u003c/code\u003e \u003ccode class=\"type\"\u003eanycompatiblearray\u003c/code\u003e operator).","description_zh":"","description_zh_html":"","examples":[{"expr":"array_prepend(1, ARRAY[2,3])","result":"{1,2,3}"}],"html":"\u003ccode class=\"function\"\u003earray_prepend\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanycompatible\u003c/code\u003e, \u003ccode class=\"type\"\u003eanycompatiblearray\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanycompatiblearray\u003c/code\u003e","returns":"anycompatiblearray","text":"array_prepend ( anycompatible, anycompatiblearray ) → anycompatiblearray","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"ARRAY-FUNCTIONS-TABLE","file":"functions-array.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"array-prepend","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"array_prepend","Summary":"在数组的开头添加一个元素（等同于anycompatible || anycompatiblearray操作符）。","BodyHTML":"在数组的开头添加一个元素（等同于\u003ccode\u003eanycompatible\u003c/code\u003e \u003ccode\u003e||\u003c/code\u003e \u003ccode\u003eanycompatiblearray\u003c/code\u003e操作符）。\u003cpre\u003earray_prepend ( anycompatible, anycompatiblearray ) → anycompatiblearray\u003c/pre\u003e在数组的开头添加一个元素（等同于\u003ccode\u003eanycompatible\u003c/code\u003e \u003ccode\u003e||\u003c/code\u003e \u003ccode\u003eanycompatiblearray\u003c/code\u003e操作符）。","SourceRevision":"ca936764","ContentHash":"5f8181f7022510144ba4fa37ce5b0c3074cde2770eca1274c4be4945b842fffe","Payload":{"description_zh":"在数组的开头添加一个元素（等同于anycompatible || anycompatiblearray操作符）。","description_zh_html":"在数组的开头添加一个元素（等同于\u003ccode class=\"type\"\u003eanycompatible\u003c/code\u003e \u003ccode class=\"literal\"\u003e||\u003c/code\u003e \u003ccode class=\"type\"\u003eanycompatiblearray\u003c/code\u003e操作符）。","signatures":[{"description_zh":"在数组的开头添加一个元素（等同于anycompatible || anycompatiblearray操作符）。","description_zh_html":"在数组的开头添加一个元素（等同于\u003ccode class=\"type\"\u003eanycompatible\u003c/code\u003e \u003ccode class=\"literal\"\u003e||\u003c/code\u003e \u003ccode class=\"type\"\u003eanycompatiblearray\u003c/code\u003e操作符）。","returns":"anycompatiblearray","text":"array_prepend ( anycompatible, anycompatiblearray ) → anycompatiblearray","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","7.4","8.0","8.1","8.2","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":"5672b096251b7cb5743ad3f63be02809ce7de5bc010ece7d309e30a05d9db6a0","Text":"array_prepend ( anycompatible, anycompatiblearray ) → anycompatiblearray","Returns":"anycompatiblearray","Payload":{"description":"Prepends an element to the beginning of an array (same as the anycompatible || anycompatiblearray operator).","description_html":"Prepends an element to the beginning of an array (same as the \u003ccode class=\"type\"\u003eanycompatible\u003c/code\u003e \u003ccode class=\"literal\"\u003e||\u003c/code\u003e \u003ccode class=\"type\"\u003eanycompatiblearray\u003c/code\u003e operator).","description_zh":"","description_zh_html":"","examples":[{"expr":"array_prepend(1, ARRAY[2,3])","result":"{1,2,3}"}],"html":"\u003ccode class=\"function\"\u003earray_prepend\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanycompatible\u003c/code\u003e, \u003ccode class=\"type\"\u003eanycompatiblearray\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanycompatiblearray\u003c/code\u003e","returns":"anycompatiblearray","text":"array_prepend ( anycompatible, anycompatiblearray ) → anycompatiblearray","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
