OmitSelect
OmitSelect<
TFields> ={ [K in keyof TFields]?: true }
Defined in: define/table/types/select.ts:144
Type-safe omit selection object.
Maps field names to true to omit them from the result.
Type Parameters
Section titled “Type Parameters”TFields
Section titled “TFields”TFields extends Record<string, FieldDefinition<unknown>>
The field definitions of the table.
Example
Section titled “Example”// Omit password field{ password: true }
// Omit multiple fields{ password: true, secret: true }