[][src]Trait sqlx::Database

pub trait Database: 'static + for<'r> HasValueRef<'r, Database = Self> + for<'q> HasArguments<'q, Database = Self> + for<'q> HasStatement<'q, Database = Self> + Send + Debug {
    type Connection: Connection;
    type TransactionManager: TransactionManager;
    type Row: Row;
    type Done: Done;
    type Column: Column;
    type TypeInfo: TypeInfo;
    type Value: 'static + Value;
}

A database driver.

This trait encapsulates a complete set of traits that implement a driver for a specific database (e.g., MySQL, PostgreSQL).

Associated Types

type Connection: Connection[src]

The concrete Connection implementation for this database.

type TransactionManager: TransactionManager[src]

The concrete TransactionManager implementation for this database.

type Row: Row[src]

The concrete Row implementation for this database.

type Done: Done[src]

The concrete Done implementation for this database.

type Column: Column[src]

The concrete Column implementation for this database.

type TypeInfo: TypeInfo[src]

The concrete TypeInfo implementation for this database.

type Value: 'static + Value[src]

The concrete type used to hold an owned copy of the not-yet-decoded value that was received from the database.

Loading content...

Implementors

Loading content...