{"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","derived_content_hash":"0aae60a7594e474688fbd8eaa36a02cc358e1e437923a10658ed1362dcfd2328","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"],"repair_provenance":{"original_source_revision":"b7bd9cda","receipt_sha256":"34e21dcfc5714ca2be4bc2b378118fd5d016420f4c5adcceae30c4e67dd2c26a","repair":"wiki-repair-20261023"},"signature":"array_prepend ( anycompatible, anycompatiblearray ) → anycompatiblearray","signature_count":1,"slug":"array-prepend","source_rev":"wiki-repair-20261023:32b1a3e5b0acc6e20b4872bd92ba5bb8605610377fe4273e7ff5bec8c45bb314","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":"wiki-repair-20261023:32b1a3e5b0acc6e20b4872bd92ba5bb8605610377fe4273e7ff5bec8c45bb314","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":"在数组的开头添加一个元素（等同于 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 操作符）。","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":"在数组的开头添加一个元素（等同于 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 操作符）。","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":"same-version-pgdoc"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-array.html","sha256":"a25a0710e8f84e027ef945e85452074399887341e22d79542584f9c646b8f076"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-pgdoc"},"ManualEvidence":{"doc":{"anchor":"ARRAY-FUNCTIONS-TABLE","file":"functions-array.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"array-prepend","SourceDatabase":"center","Version":"18","Locale":"en","Title":"array_prepend","Summary":"Prepends an element to the beginning of an array (same as the anycompatible || anycompatiblearray operator).","BodyHTML":"Prepends an element to the beginning of an array (same as the \u003ccode\u003eanycompatible\u003c/code\u003e \u003ccode\u003e||\u003c/code\u003e \u003ccode\u003eanycompatiblearray\u003c/code\u003e operator).","SourceRevision":"wiki-repair-20261023:32b1a3e5b0acc6e20b4872bd92ba5bb8605610377fe4273e7ff5bec8c45bb314","ContentHash":"409185d8de86fe7b311740c3806bf16e2dad57069b26aa14ba67e71c715bc11a","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).","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":"在数组的开头添加一个元素（等同于 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 操作符）。","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":"same-version-pgdoc"}]}},"RequestedLocale":"en","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":"在数组的开头添加一个元素（等同于 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 操作符）。","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":"same-version-pgdoc"}}],"Spellings":null,"SQLState":null,"Evidence":null}
