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 = new Schema.empty();
  targetSchema.dependencyOrderedTables.forEach((t) {
    createTable(t);
  });
}