import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.4/deps.ts";
const { SchemaModule } = kysely;
Create a new view.
Examples
await db.schema
.createView('dogs')
.orReplace()
.as(db.selectFrom('pet').selectAll().where('species', '=', 'dog'))
.execute()