[][src]Trait cortex::concerns::CortexDeletable

pub trait CortexDeletable {
    fn delete_by(
        &self,
        connection: &PgConnection,
        field: &str
    ) -> Result<usize, Error>; }

A minimalistic ORM trait for CorTeX data items

Required methods

fn delete_by(
    &self,
    connection: &PgConnection,
    field: &str
) -> Result<usize, Error>

Creates a new item given a connection

Loading content...

Implementors

impl CortexDeletable for NewTask[src]

impl CortexDeletable for Task[src]

Loading content...