import { type Connector } from "https://deno.land/x/denodb_esgi@1.0.15.1/lib/connectors/connector.ts";
Connector interface for a database provider connection.
Properties
_client: ConnectorClient
Client that maintains an external database connection.
_options: ConnectorOptions
Options to connect to an external instance.
Methods
query(queryDescription: QueryDescription): Promise<any | any[]>
Execute a query on the external database instance.
optional
transaction(queries: QueryDescription[]): Promise<any | any[]>Execute queries within a transaction on the database instance.