API Reference / @evolu/common / Evolu/Internal / validEvoluSchemaToDbSchema

Function: validEvoluSchemaToDbSchema()

function validEvoluSchemaToDbSchema(validEvoluSchema, indexes?): DbSchema;

Defined in: packages/common/src/Evolu/Schema.ts:217

Parameters

ParameterType
validEvoluSchemaReadonly<Record<string & Brand<"Base64Url"> & Brand<"MaxLength42"> & Brand<"MinLength1"> & Brand<"TableName">, Readonly<{ id: AnyType; }> & Readonly<Record<string & Brand<"Base64Url"> & Brand<"MaxLength42"> & Brand<"MinLength1"> & Brand<"ColumnName">, unknown>>>> & Brand<"ValidEvoluSchema">
indexes?Indexex

Returns

DbSchema

Was this page helpful?