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

SelectObject.md

24 lines586 Bytes

Type Alias: SelectObject<T>

type SelectObject<T> = T;

Defined in: packages/db/src/query/builder/types.ts:208

SelectObject - Wrapper type for select clause objects

This ensures that objects passed to select() have valid SelectValue types for all their properties. It's a simple wrapper that provides better error messages when invalid selections are attempted.

Type Parameters

T

T extends SelectShape = SelectShape