QueryIR

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

Properties

distinct?

ts
optional distinct: true;
optional distinct: true;

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


fnHaving?

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

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

Parameters

row

NamespacedRow

Returns

any


fnSelect()?

ts
optional fnSelect: (row) => any;
optional fnSelect: (row) => any;

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

Parameters

row

NamespacedRow

Returns

any


fnWhere?

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

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

Parameters

row

NamespacedRow

Returns

any


from

ts
from: From;
from: From;

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


groupBy?

ts
optional groupBy: GroupBy;
optional groupBy: GroupBy;

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


having?

ts
optional having: Where[];
optional having: Where[];

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


join?

ts
optional join: Join;
optional join: Join;

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


limit?

ts
optional limit: number;
optional limit: number;

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


offset?

ts
optional offset: number;
optional offset: number;

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


orderBy?

ts
optional orderBy: OrderBy;
optional orderBy: OrderBy;

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


select?

ts
optional select: Select;
optional select: Select;

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


singleResult?

ts
optional singleResult: true;
optional singleResult: true;

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


where?

ts
optional where: Where[];
optional where: Where[];

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