DB Docs
API Reference
- Core API Reference
- Collection
- createCollection
- liveQueryCollectionOptions
- createLiveQueryCollection
- createOptimisticAction
- createTransaction
- Electric DB Collection
- electricCollectionOptions
- Query DB Collection
- queryCollectionOptions
- RxDB DB Collection
- rxdbCollectionOptions
- PowerSync Collection
- powerSyncCollectionOptions
- createIndexedDB
- indexedDBCollectionOptions
- React Hooks
- useLiveQuery
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/reference/@tanstack/namespaces/IR/classes/Func.md
Func
Defined in: packages/db/src/query/ir.ts:250
Extends#
- BaseExpression<T>
Type Parameters#
T#
T = any
Constructors#
Constructor#
ts
new Func<T>(name, args): Func<T>;Defined in: packages/db/src/query/ir.ts:252
Parameters#
name#
string
args#
BasicExpression<any>[]
Returns#
Func<T>
Overrides#
ts
BaseExpression<T>.constructorProperties#
__returnType#
ts
readonly __returnType: T;Defined in: packages/db/src/query/ir.ts:88
Internal
- Type brand for TypeScript inference
Inherited from#
ts
BaseExpression.__returnTypeargs#
ts
args: BasicExpression<any>[];Defined in: packages/db/src/query/ir.ts:254
name#
ts
name: string;Defined in: packages/db/src/query/ir.ts:253
type#
ts
type: "func";Defined in: packages/db/src/query/ir.ts:251
Overrides#
ts
BaseExpression.type