sql_tools 0.11.10

A rust crate meant to make SQL queries simple and communication between various SQL versions easy.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::{Error, SQLImplementation};

pub mod implement;
pub mod sql_implementations;

#[derive(Debug)]
pub struct DeleteProps {
    pub connect: SQLImplementation,
    pub table: String,
    pub clause: Option<String>,
}

pub trait DeleteBuilder {
    /// Builds the DELETE query.
    fn build(self) -> Result<(), Error>;
}