2 releases

0.1.1 May 15, 2023
0.1.0 May 15, 2023

#1922 in Procedural macros

Download history 18/week @ 2024-02-21 20/week @ 2024-02-28 2/week @ 2024-03-13 9/week @ 2024-03-27 25/week @ 2024-04-03 27/week @ 2024-04-10

61 downloads per month

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–37MB
~586K SLoC