Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

count.md

24 lines395 Bytes

1---
2id: count
3title: count
4---
5​
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7​
8# Function: count()
9​
10```ts
11function count(arg): Aggregate<number>
12```
13​
14Defined in: [packages/db/src/query/builder/functions.ts:225](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L225)
15​
16## Parameters
17​
18### arg
19​
20`any`
21​
22## Returns
23​
24`Aggregate`\<`number`\>