UNPKG

@clickup/ent-framework

Version:

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

21 lines (12 loc) 645 B
[**@clickup/ent-framework**](../README.md) *** [@clickup/ent-framework](../globals.md) / InsertInput # Type Alias: InsertInput\<TTable\> > **InsertInput**\<`TTable`\>: `{ [K in InsertFieldsRequired<TTable>]: Value<TTable[K]> }` & `{ [K in InsertFieldsOptional<TTable>]?: Value<TTable[K]> }` Defined in: [src/types.ts:213](https://github.com/clickup/ent-framework/blob/master/src/types.ts#L213) Insert: Table -> { field: string, updated_at?: Date, created_at?: Date... }. Excludes id Spec entirely and makes autoInsert/autoUpdate Specs optional. ## Type Parameters | Type Parameter | | ------ | | `TTable` *extends* [`Table`](Table.md) |