Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DatabaseIntrospector

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

interface DatabaseIntrospector {
getMetadata(options?: DatabaseMetadataOptions): Promise<DatabaseMetadata>;
getSchemas(): Promise<SchemaMetadata[]>;
getTables(options?: DatabaseMetadataOptions): Promise<TableMetadata[]>;
}

§Methods

§
getMetadata(options?: DatabaseMetadataOptions): Promise<DatabaseMetadata>
[src]

Get the database metadata such as table and column names.

§
getSchemas(): Promise<SchemaMetadata[]>
[src]

Get schema metadata.

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

Get tables and views metadata.