toursql

Crates.iotoursql
lib.rstoursql
version0.1.1
sourcesrc
created_at2023-05-15 07:53:26.545419
updated_at2023-05-15 09:09:14.083429
descriptiona derive macro for gluesql
homepage
repositoryhttps://github.com/enginefuture/Toursql
max_upload_size
id864785
size49,351
tabshi (enginefuture)

documentation

README

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>>;
}
Commit count: 8

cargo fmt