pub struct TableJoinOptions {
pub parent: Table,
pub child: Table,
}
Expand description
Struct for Options regarding joining tables together
Parent Table is the left, Child Table is the right
Fields§
§parent: Table
Parent Table
child: Table
Child Table
Implementations§
Source§impl TableJoinOptions
impl TableJoinOptions
Sourcepub fn is_valid_column(&self, column: &str) -> bool
pub fn is_valid_column(&self, column: &str) -> bool
Check if a Table.Column is valid
Trait Implementations§
Source§impl Clone for TableJoinOptions
impl Clone for TableJoinOptions
Source§fn clone(&self) -> TableJoinOptions
fn clone(&self) -> TableJoinOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TableJoinOptions
impl Debug for TableJoinOptions
Source§impl ToSqlite for TableJoinOptions
impl ToSqlite for TableJoinOptions
Source§fn on_select(&self, _: &QueryBuilder) -> Result<String, Error>
fn on_select(&self, _: &QueryBuilder) -> Result<String, Error>
Generate the SQL for the join statement
Source§fn on_create(&self, query: &QueryBuilder) -> Result<String, Error>
fn on_create(&self, query: &QueryBuilder) -> Result<String, Error>
Convert to SQLite for creating a table
Source§fn on_insert(&self, query: &QueryBuilder) -> Result<(String, Values), Error>
fn on_insert(&self, query: &QueryBuilder) -> Result<(String, Values), Error>
Convert to SQLite for inserting a row
Source§fn on_update(&self, query: &QueryBuilder) -> Result<(String, Values), Error>
fn on_update(&self, query: &QueryBuilder) -> Result<(String, Values), Error>
Convert to SQLite for updating a row
Auto Trait Implementations§
impl Freeze for TableJoinOptions
impl RefUnwindSafe for TableJoinOptions
impl Send for TableJoinOptions
impl Sync for TableJoinOptions
impl Unpin for TableJoinOptions
impl UnwindSafe for TableJoinOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request