Trait geekorm_core::backends::GeekConnection

source ·
pub trait GeekConnection
where Self: Sized,
{ type Connection; type Error; type Statement; // Required method async fn prepare(&self, query: &str) -> Result<Self::Statement, Self::Error>; }
Expand description

GeekConnection

Required Associated Types§

source

type Connection

Native connection type

source

type Error

Native error type

source

type Statement

Native statement

Required Methods§

source

async fn prepare(&self, query: &str) -> Result<Self::Statement, Self::Error>

Execute a query on the database

Object Safety§

This trait is not object safe.

Implementors§