2 releases
0.1.1 | May 15, 2023 |
---|---|
0.1.0 | May 15, 2023 |
#2090 in Procedural macros
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–35MB
~588K SLoC