SchemaBuilder.toSchema constructor

SchemaBuilder.toSchema(PersistentStore store, Schema targetSchema, { bool isTemporary: false })

Creates a builder starting from the empty schema.

Implementation

SchemaBuilder.toSchema(this.store, Schema targetSchema,
    {this.isTemporary = false}) {
  schema = Schema.empty();
  targetSchema.dependencyOrderedTables.forEach(createTable);
}