UNPKG

@clickup/ent-framework

Version:

A PostgreSQL graph-database-alike library with microsharding and row-level security

20 lines (11 loc) 622 B
[**@clickup/ent-framework**](../README.md) *** [@clickup/ent-framework](../globals.md) / InsertFieldsOptional # Type Alias: InsertFieldsOptional\<TTable\> > **InsertFieldsOptional**\<`TTable`\>: `{ [K in keyof TTable]: TTable[K] extends { autoInsert: unknown } ? K : TTable[K] extends { autoUpdate: unknown } ? K : never }`\[keyof `TTable`\] Defined in: [src/types.ts:201](https://github.com/clickup/ent-framework/blob/master/src/types.ts#L201) Insert: Table -> "created_at" | "field2" | ... deduction (optional fields). ## Type Parameters | Type Parameter | | ------ | | `TTable` *extends* [`Table`](Table.md) |