import { type kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { DatabaseIntrospector } = kysely;
An interface for getting the database metadata (names of the tables and columns etc.)
Methods
getTables(options?: DatabaseMetadataOptions): Promise<TableMetadata[]>
Get tables and views metadata.
deprecated
getMetadata(options?: DatabaseMetadataOptions): Promise<DatabaseMetadata>Get the database metadata such as table and column names.