import { entityKind } from "../entity.js";
import { mssqlTableWithSchema } from "./table.js";
import { mssqlViewWithSchema } from "./view.js";
class MsSqlSchema {
  constructor(schemaName) {
    this.schemaName = schemaName;
  }
  static [entityKind] = "MsSqlSchema";
  table = (name, columns, extraConfig) => {
    return mssqlTableWithSchema(name, columns, extraConfig, this.schemaName);
  };
  view = (name, columns) => {
    return mssqlViewWithSchema(name, columns, this.schemaName);
  };
}
function mssqlDatabase(name) {
  return new MsSqlSchema(name);
}
const mssqlSchema = mssqlDatabase;
export {
  MsSqlSchema,
  mssqlDatabase,
  mssqlSchema
};
//# sourceMappingURL=schema.js.map