2 releases

0.1.1 May 15, 2023
0.1.0 May 15, 2023

#1866 in Procedural macros

MIT/Apache

50KB
817 lines

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>>;
}

Dependencies

~22–38MB
~589K SLoC