toursql 0.1.1

a derive macro for gluesql
Documentation

Toursql


use gluesql::prelude::{ Payload};
pub trait Selectable<T>: Sized {
    fn select(&self) -> String;
    fn delete(&self) -> String;
    fn update(&self, updates: ::std::collections::HashMap<String, String>) -> Result<String, String>;
    fn from_payload(payload: &Payload) -> T;
    fn union_str(&self) -> std::collections::HashMap<String, Vec<String>>;
}