import { type Connector } from "https://deno.land/x/denodb@v1.1.0/lib/connectors/connector.ts";
Connector interface for a database provider connection.
Properties
_translator: Translator
Translator that converts queries to a database-specific command.
_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.
Execute queries within a transaction on the database instance.