pub trait Executor {
// Required method
fn query<'a>(&'a self, query: impl Into<Cow<'a, str>>) -> Query<'a, Any>;
}Expand description
Runs SurrealQL: the database (Db) or a Transaction. Write helper
functions against &impl Executor to use them in and out of transactions.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".