Module

x/kysely_postgrs_js_dialect/deps.ts>PostgresIntrospector

Kysely dialect for PostgreSQL using the Postgres.js client.
class PostgresIntrospector
import { PostgresIntrospector } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/deps.ts";

Constructors

new
PostgresIntrospector(db: Kysely<any>)

Methods

deprecated
getMetadata(options?: DatabaseMetadataOptions): Promise<DatabaseMetadata>

Get the database metadata such as table and column names.

getSchemas(): Promise<SchemaMetadata[]>

Get schema metadata.

getTables(options?: DatabaseMetadataOptions): Promise<TableMetadata[]>

Get tables and views metadata.