Type alias InferTableReadSchema<T, Overrides>
InferTableReadSchema<T, Overrides>: T extends CreateTableDefinition ? FoundRow<InferTableSchemaFromDefinition<T, Overrides>> : Record<never, never> extends Overrides ? T extends ((..._) => Promise<Table<any, any, infer Schema>>) ? Schema : T extends ((..._) => Table<any, any, infer Schema>) ? Schema : T extends Promise<Table<any, any, infer Schema>> ? Schema : T extends Table<any, any, infer Schema> ? Schema : never : "ERROR: Can not provide TypeOverrides if not inferring the type from a CreateTableDefinition"
Automagically extracts a table's read-schema from some Table-like type, most useful when performing a
Db.createTable (or Table.alter) operation.
See InferTableSchema for more information & examples.