pub struct Sqlite;Expand description
SQLite, for reylo_engine_core::api::call.
Trait Implementations§
Source§impl Database for Sqlite
impl Database for Sqlite
Source§fn analyze(sql: &str, host: &Host<'_>) -> Lazy<Analysis>
fn analyze(sql: &str, host: &Host<'_>) -> Lazy<Analysis>
The replayed analysis: the host answers the schema and function queries
(crate::sqlite::analyze), the statement’s structured parameters expanded first.
Source§fn errors(analysis: &Analysis, host: &Host<'_>) -> Lazy<Option<Errors>>
fn errors(analysis: &Analysis, host: &Host<'_>) -> Lazy<Option<Errors>>
The unique keys, NOT NULL columns and STRICT tables the statement’s constraint errors may name, where it fires no trigger.
Source§fn read_only(analysis: &Analysis, _host: &Host<'_>) -> Lazy<bool>
fn read_only(analysis: &Analysis, _host: &Host<'_>) -> Lazy<bool>
A SELECT writes nothing on SQLite, which has no writing function and no locking clause.
Source§fn capabilities(
analysis: &Analysis,
host: &Host<'_>,
) -> Lazy<Option<Capabilities>>
fn capabilities( analysis: &Analysis, host: &Host<'_>, ) -> Lazy<Option<Capabilities>>
What running the statement may do: what the statement says, and what the schema adds to its writes.
Source§const DIALECT: Dialect = Dialect::Sqlite
const DIALECT: Dialect = Dialect::Sqlite
The name a request carries, and the placeholder rules the lexer applies.
Source§const FINGERPRINT: &'static str = crate::FINGERPRINT
const FINGERPRINT: &'static str = crate::FINGERPRINT
The sources this database’s answers come from: core’s and its own ([
crate::fingerprint]).Source§type Describe = NoDescribe
type Describe = NoDescribe
What the host answers a
describe need with.Auto Trait Implementations§
impl Forget for Sqlite
impl Freeze for Sqlite
impl Move for Sqlite
impl RefUnwindSafe for Sqlite
impl Send for Sqlite
impl Sync for Sqlite
impl Unpin for Sqlite
impl UnsafeUnpin for Sqlite
impl UnwindSafe for Sqlite
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more