tauri-plugin-rusqlite 0.4.4

Tauri Plugin based on Rusqlite
Documentation
1
2
3
4
5
6
7
8
9
use crate::error::Error;
use rusqlite::ToSql;
use serde_json::{Map, Value as JsonValue};

pub type Result<T> = std::result::Result<T, Error>;
pub type Migrations = Vec<JsonValue>;
pub type SQLParameter = (String, Box<dyn ToSql>);
pub type ResultElement = Map<String, JsonValue>;
pub type ResultList = Vec<ResultElement>;