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

QueryIR.md

176 lines2.9 KB

Defined in: packages/db/src/query/ir.ts:13

Properties

distinct?

optional distinct: true;

Defined in: packages/db/src/query/ir.ts:23


fnHaving?

optional fnHaving: (row) => any[];

Defined in: packages/db/src/query/ir.ts:29

Parameters

row

NamespacedRow

Returns

any


fnSelect()?

optional fnSelect: (row) => any;

Defined in: packages/db/src/query/ir.ts:27

Parameters

row

NamespacedRow

Returns

any


fnWhere?

optional fnWhere: (row) => any[];

Defined in: packages/db/src/query/ir.ts:28

Parameters

row

NamespacedRow

Returns

any


from

from: From;

Defined in: packages/db/src/query/ir.ts:14


groupBy?

optional groupBy: GroupBy;

Defined in: packages/db/src/query/ir.ts:18


having?

optional having: Where[];

Defined in: packages/db/src/query/ir.ts:19


join?

optional join: Join;

Defined in: packages/db/src/query/ir.ts:16


limit?

optional limit: number;

Defined in: packages/db/src/query/ir.ts:21


offset?

optional offset: number;

Defined in: packages/db/src/query/ir.ts:22


orderBy?

optional orderBy: OrderBy;

Defined in: packages/db/src/query/ir.ts:20


select?

optional select: Select;

Defined in: packages/db/src/query/ir.ts:15


singleResult?

optional singleResult: true;

Defined in: packages/db/src/query/ir.ts:24


where?

optional where: Where[];

Defined in: packages/db/src/query/ir.ts:17