Type alias InferrableTable

InferrableTable: CreateTableDefinition | ((..._) => Promise<Table<SomeRow>>) | ((..._) => Table<SomeRow>) | Promise<Table<SomeRow>> | Table<SomeRow>

The different possible types that a Table's schema may be inferred from using the InferTableSchema-like types, when using Db.createTable or Table.alter.

Type declaration

Type declaration

See

  • InferTableSchema
  • InferTablePrimaryKey