sq3-rs 0.2.13

SQLite reader with no dependencies
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::result::SqliteResult;

use crate::query::{traits::SqliteStatement, SqliteDatabaseError, SqliteQueryOutcome};

#[derive(Debug, Default)]
pub(crate) struct InsertStmt<'a> {
    input: &'a str, // TODO
}

impl<'a> SqliteStatement<'a> for InsertStmt<'a> {
    fn run(stmt_content: &str) -> SqliteResult<SqliteQueryOutcome> {
        Ok(SqliteQueryOutcome::Failure(SqliteDatabaseError::_Todo))
    }
}