Skip to main content

Db

Type Alias Db 

Source
pub type Db = Surreal<Any>;
Expand description

A connection to the database. Cheap to clone: clones share the connection.

Aliased Type§

pub struct Db { /* private fields */ }

Trait Implementations§

Source§

impl Executor for Db

Source§

fn query<'a>(&'a self, query: impl Into<Cow<'a, str>>) -> Query<'a, Any>