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

SelectObject.md

22 lines553 Bytes

type SelectObject<T> = T;

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

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