forDialect method

SchemaSnapshot forDialect(
  1. SqlDialect dialect
)

Resolves shared declarations to physical facts for this engine only.

Implementation

SchemaSnapshot forDialect(SqlDialect dialect) {
  validateSchema(tables, dialect);
  return SchemaSnapshot([for (final t in tables) targetTable(t, dialect)]);
}