[][src]Trait diesel::prelude::Column

pub trait Column: Expression {
    type Table: Table;

    const NAME: &'static str;
}

A column on a database table. Types which implement this trait should have been generated by the table! macro.

Associated Types

type Table: Table

The table which this column belongs to

Loading content...

Associated Constants

const NAME: &'static str

The name of this column

Loading content...

Implementors

Loading content...