Trait DatabaseInteract

Source
pub trait DatabaseInteract {
    // Required methods
    fn read_to_rows(env: &EnvClient) -> Vec<Self>
       where Self: Sized;
    fn put(&self, env: &EnvClient);
    fn update(&self, env: &EnvClient, conditions: &[Condition]);
}

Required Methods§

Source

fn read_to_rows(env: &EnvClient) -> Vec<Self>
where Self: Sized,

Source

fn put(&self, env: &EnvClient)

Source

fn update(&self, env: &EnvClient, conditions: &[Condition])

Implementors§