Trait diesel::connection::WithMetadataLookup

source ·
pub trait WithMetadataLookup: Connection {
    // Required method
    fn metadata_lookup(
        &mut self
    ) -> &mut <Self::Backend as TypeMetadata>::MetadataLookup;
}
Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
Expand description

Describes a connection with an underlying crate::sql_types::TypeMetadata::MetadataLookup

Required Methods§

source

fn metadata_lookup( &mut self ) -> &mut <Self::Backend as TypeMetadata>::MetadataLookup

Retrieves the underlying metadata lookup

Object Safety§

This trait is not object safe.

Implementors§

source§

impl WithMetadataLookup for SqliteConnection

Available on crate feature sqlite only.