pub struct Join {
pub table: TableName,
pub kind: JoinKind,
pub primary_key: ColumnName,
pub filters: Option<Vec<Filter>>,
pub order_by: Option<Vec<OrderBy>>,
pub limit: Option<u64>,
pub fields: Vec<Field>,
}Expand description
Folds rows from a related table into the document. The kind
names the relationship — which side carries the key, and whether one row or
many fold in; filters, order_by, and limit narrow and shape the rows
that come back.
Fields§
§table: TableName§kind: JoinKind§primary_key: ColumnName§filters: Option<Vec<Filter>>§order_by: Option<Vec<OrderBy>>§limit: Option<u64>§fields: Vec<Field>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Join
impl<'de> Deserialize<'de> for Join
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Join
impl RefUnwindSafe for Join
impl Send for Join
impl Sync for Join
impl Unpin for Join
impl UnsafeUnpin for Join
impl UnwindSafe for Join
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more