{"Entry":{"collection":"func","key":"count","name":"count","aliases":[],"metadata":{"changed_in":["7.2","7.3"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"7.1","group_changed":null,"signatures":{"added":["count ( * )","count ( expression )"],"removed":["COUNT ( * )","COUNT ( expression )"]},"status":"changed","to":"7.2"},{"descriptions_changed":false,"doc_overhaul":false,"from":"7.2","group_changed":null,"signatures":{"added":["count ( * ) → bigint","count ( expression ) → bigint"],"removed":["count ( * )","count ( expression )"]},"status":"changed","to":"7.3"},{"descriptions_changed":true,"doc_overhaul":false,"from":"8.1","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"8.2"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"e8bc101d004732ae395338c7206608ebcc9839ad5ab341bddf4e86309a873db3","derived_content_hash":"cf38cfee9a5ca818777900004bf055c077d7b2f32b2879bc420076cd7230f5e2","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:f5870b5a630d630397edac865af932e7aff028b09db7aeb49cd5107a7e52c3c9","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"7.1","group":"aggregate","group_label":"Aggregate Functions","groups":["aggregate"],"imported_at":"2026-09-27T17:57:28.913945+08:00","last_version":"20","name":"count","name_key":"count","position":21009,"present_in":["7.1","7.2","7.3","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":"wiki-repair-20261023:02b93653d4504b0a01c07f875e0a4d253113d877f8125be3eaeecce1c10dfe58","receipt_sha256":"5c37710d72844987358b2e420f977c9415af2cc33033c793ecf10fcce5950c0f","repair":"wiki-repair-20261023"},"signature":"count ( * ) → bigint","signature_count":2,"slug":"count","source_rev":"wiki-repair-20261023:f5870b5a630d630397edac865af932e7aff028b09db7aeb49cd5107a7e52c3c9","summary":"Computes the number of input rows.","summary_zh":""}},"Definition":{"Collection":"func","Key":"count","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"count","SourceRevision":"wiki-repair-20261023:f5870b5a630d630397edac865af932e7aff028b09db7aeb49cd5107a7e52c3c9","Facts":{"description":"Computes the number of input rows.","description_html":"Computes the number of input rows.","description_zh":"计算输入行的数量。","description_zh_html":"计算输入行的数量。","doc":{"anchor":"FUNCTIONS-AGGREGATE-TABLE","file":"functions-aggregate.html","sha256":"31d3dcd36ef353484b4b3535f9f0d1cc239c3910146257fe5178f99b90b501e2","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-aggregate.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"31d3dcd36ef353484b4b3535f9f0d1cc239c3910146257fe5178f99b90b501e2","version":"18.7"},{"file":"functions-aggregate.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"0bf7506d27b71666fc74840a21a8f77c8a92735174f1d05033865961722e457c","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"aggregate","group_label":"聚合函数","lang":"en","layout":"table-new","pages":["functions-aggregate.html"],"prose_only":false,"signatures":[{"description":"Computes the number of input rows.","description_html":"Computes the number of input rows.","description_zh":"计算输入行的数量。","description_zh_html":"计算输入行的数量。","examples":[],"html":"\u003ccode class=\"function\"\u003ecount\u003c/code\u003e ( \u003ccode class=\"literal\"\u003e*\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"count ( * ) → bigint","zh_from":"same-version-manual"},{"description":"Computes the number of input rows in which the input value is not null.","description_html":"Computes the number of input rows in which the input value is not null.","description_zh":"计算输入值不为空的输入行的数量。","description_zh_html":"计算输入值不为空的输入行的数量。","examples":[],"html":"\u003ccode class=\"function\"\u003ecount\u003c/code\u003e ( \u003ccode class=\"type\"\u003e\"any\"\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"count ( \"any\" ) → bigint","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-aggregate.html","sha256":"68da7af09e2749a855188bbbff99ae036fc7eece4e19b8e048baffd28aa3ca59"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-AGGREGATE-TABLE","file":"functions-aggregate.html","sha256":"31d3dcd36ef353484b4b3535f9f0d1cc239c3910146257fe5178f99b90b501e2","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"count","SourceDatabase":"center","Version":"18","Locale":"en","Title":"count","Summary":"Computes the number of input rows.","BodyHTML":"Computes the number of input rows.","SourceRevision":"wiki-repair-20261023:f5870b5a630d630397edac865af932e7aff028b09db7aeb49cd5107a7e52c3c9","ContentHash":"4c5b835c1c1e5635d7addc41d2afd40462613e79fa0ba8c44d823d28fc73ce1d","Payload":{"description":"Computes the number of input rows.","description_html":"Computes the number of input rows.","signatures":[{"description":"Computes the number of input rows.","description_html":"Computes the number of input rows.","description_zh":"计算输入行的数量。","description_zh_html":"计算输入行的数量。","examples":[],"html":"\u003ccode class=\"function\"\u003ecount\u003c/code\u003e ( \u003ccode class=\"literal\"\u003e*\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"count ( * ) → bigint","zh_from":"same-version-manual"},{"description":"Computes the number of input rows in which the input value is not null.","description_html":"Computes the number of input rows in which the input value is not null.","description_zh":"计算输入值不为空的输入行的数量。","description_zh_html":"计算输入值不为空的输入行的数量。","examples":[],"html":"\u003ccode class=\"function\"\u003ecount\u003c/code\u003e ( \u003ccode class=\"type\"\u003e\"any\"\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"count ( \"any\" ) → bigint","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","7.1","7.2","7.3","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":"1f28b3d37b818e92d8fdf35a6fda54f8902decbf9810a61dc95662c19d018790","Text":"count ( * ) → bigint","Returns":"bigint","Payload":{"description":"Computes the number of input rows.","description_html":"Computes the number of input rows.","description_zh":"计算输入行的数量。","description_zh_html":"计算输入行的数量。","examples":[],"html":"\u003ccode class=\"function\"\u003ecount\u003c/code\u003e ( \u003ccode class=\"literal\"\u003e*\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"count ( * ) → bigint","zh_from":"same-version-manual"}},{"Version":"18","Ordinal":1,"Hash":"e59b566874b1f84b2a6c95a3022d045bd5931bc4c14080b104d3894fa6586cef","Text":"count ( \"any\" ) → bigint","Returns":"bigint","Payload":{"description":"Computes the number of input rows in which the input value is not null.","description_html":"Computes the number of input rows in which the input value is not null.","description_zh":"计算输入值不为空的输入行的数量。","description_zh_html":"计算输入值不为空的输入行的数量。","examples":[],"html":"\u003ccode class=\"function\"\u003ecount\u003c/code\u003e ( \u003ccode class=\"type\"\u003e\"any\"\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"count ( \"any\" ) → bigint","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
