Type alias Database<DEF, TRANSFORMER>
Database<DEF, TRANSFORMER>: { [key in keyof DEF["tables"] & string]: TableTool<DEF, key, Database<DEF>, DEF["tables"][key], TRANSFORMER[key]>} & $Database<DEF, TRANSFORMER> & { tables: { [key in keyof DEF["tables"] & string]: TableTool<DEF, key, Database<DEF>, DEF["tables"][key], TRANSFORMER[key]> }; layer<INPUT_SCHEMA>(inputSchema) => DataProcessingLayer<INPUT_SCHEMA, Database<DEF, DatabaseTransformerMap<DEF>>>; } Type Parameters
TRANSFORMER extends DatabaseTransformerMap<DEF> = DatabaseTransformerMap<DEF>
Type declaration
tables: {
[key in keyof DEF["tables"] & string]: TableTool<DEF, key, Database<DEF>, DEF["tables"][key], TRANSFORMER[key]>
}
layer:function
- layer<INPUT_SCHEMA>(inputSchema): DataProcessingLayer<INPUT_SCHEMA, Database<DEF, DatabaseTransformerMap<DEF>>>
Type Parameters
INPUT_SCHEMA extends DataProcessingSchema<Database<DEF, DatabaseTransformerMap<DEF>>, DataProcessingBaseSchema<Database<DEF, DatabaseTransformerMap<DEF>>>>
Parameters
inputSchema: INPUT_SCHEMA
Returns DataProcessingLayer<INPUT_SCHEMA, Database<DEF, DatabaseTransformerMap<DEF>>>