pub struct JoinDef {
pub field_name: String,
pub target_cube: String,
pub conditions: Vec<(String, String)>,
pub description: Option<String>,
pub join_type: JoinType,
}Expand description
Declares a JOIN relationship from this cube to another cube.
Fields§
§field_name: StringGraphQL field name on the source record, e.g. “joinTransfers”
target_cube: StringTarget cube name as registered in the CubeRegistry, e.g. “Transfers”
conditions: Vec<(String, String)>(local_column, remote_column) pairs for the ON clause.
description: Option<String>§join_type: JoinTypeJOIN type — defaults to Left.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JoinDef
impl RefUnwindSafe for JoinDef
impl Send for JoinDef
impl Sync for JoinDef
impl Unpin for JoinDef
impl UnsafeUnpin for JoinDef
impl UnwindSafe for JoinDef
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