Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.DatabaseIntrospector

Kysely dialect for PostgreSQL using the deno-postgres client.
Latest
interface kysely.DatabaseIntrospector
Re-export
import { type kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.ts";
const { DatabaseIntrospector } = kysely;

An interface for getting the database metadata (names of the tables and columns etc.)

Methods

getSchemas(): Promise<SchemaMetadata[]>

Get schema metadata.

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.