Trait django_query::row::AsForeignKey
source · [−]pub trait AsForeignKey {
fn as_foreign_key(&self, name: &str) -> CellValue;
}
Expand description
Something which can be stored in a cell by specifying one of its fields to stand in for it.
Required methods
fn as_foreign_key(&self, name: &str) -> CellValue
fn as_foreign_key(&self, name: &str) -> CellValue
Return the representation of the object if the column name
of its own table is used to stand in for it.