Struct UpdateWrapper

Source
pub struct UpdateWrapper { /* private fields */ }

Implementations§

Source§

impl UpdateWrapper

Source§

impl UpdateWrapper

Source

pub fn set<SC, RV>(&mut self, column: SC, value: RV) -> &mut UpdateWrapper
where RdbcColumn: From<SC>, RdbcDmlValue: From<RV>,

Trait Implementations§

Source§

impl RdbcTableFilter for UpdateWrapper

Source§

fn init_filter(&mut self) -> &mut UpdateWrapper

Source§

fn get_filter_mut(&mut self) -> &mut QueryFilter

Source§

fn with_filter(&mut self, concat_type: RdbcConcatType) -> &mut UpdateWrapper

Source§

fn add_filter(&mut self, filter: QueryFilter) -> &mut Self

Source§

fn and(&mut self) -> &mut Self

Source§

fn or(&mut self) -> &mut Self

Source§

fn eq_<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn eq_col<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC> + From<RV>,

Source§

fn ne_<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn ne_col<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC> + From<RV>,

Source§

fn ge_<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn ge_col<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC> + From<RV>,

Source§

fn gt_<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn gt_col<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC> + From<RV>,

Source§

fn le_<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn le_col<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC> + From<RV>,

Source§

fn lt_<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn lt_col<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC> + From<RV>,

Source§

fn like_<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn like_left_<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn like_right_<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn not_like_<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn not_like_left_<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn not_like_right_<RC, RV>(&mut self, column: RC, value: RV) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn null_<RC>(&mut self, column: RC) -> &mut Self
where RdbcColumn: From<RC>,

Source§

fn not_null_<RC>(&mut self, column: RC) -> &mut Self
where RdbcColumn: From<RC>,

Source§

fn between_<RC, RVS, RVE>( &mut self, column: RC, value_start: RVS, value_end: RVE, ) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RVS> + From<RVE>,

Source§

fn not_between_<RC, RVS, RVE>( &mut self, column: RC, value_start: RVS, value_end: RVE, ) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RVS> + From<RVE>,

Source§

fn in_v<RC, RV>(&mut self, column: RC, value: Vec<RV>) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn in_v_slice<RC, RV>(&mut self, column: RC, value: &[RV]) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>, RV: Clone,

Source§

fn in_query<RC>(&mut self, column: RC, value: QueryWrapper) -> &mut Self
where RdbcColumn: From<RC>,

Source§

fn not_in_v<RC, RV>(&mut self, column: RC, value: Vec<RV>) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>,

Source§

fn not_in_v_slice<RC, RV>(&mut self, column: RC, value: &[RV]) -> &mut Self
where RdbcColumn: From<RC>, RdbcValue: From<RV>, RV: Clone,

Source§

fn not_in_query<RC>(&mut self, column: RC, value: QueryWrapper) -> &mut Self
where RdbcColumn: From<RC>,

Source§

fn exists_<RC>(&mut self, column: RC, value: QueryWrapper) -> &mut Self
where RdbcColumn: From<RC>,

Source§

fn not_exists_<RC>(&mut self, column: RC, value: QueryWrapper) -> &mut Self
where RdbcColumn: From<RC>,

Source§

impl RdbcTableWrapper for UpdateWrapper

Source§

fn get_table_mut(&mut self) -> &mut Vec<RdbcTableInner>

Source§

fn get_join_mut(&mut self) -> &mut Vec<RdbcTableInner>

Source§

fn table<ST>(&mut self, table: ST) -> &mut Self
where ST: RdbcIdent,

Source§

fn table_alias<ST, SA>(&mut self, table: ST, alias: SA) -> &mut Self
where ST: RdbcIdent, SA: RdbcIdent,

Source§

fn schema_table<TS, TT>(&mut self, schema: TS, table: TT) -> &mut Self
where TS: RdbcIdent, TT: RdbcIdent,

Source§

fn schema_table_alias<SS, ST, SA>( &mut self, schema: SS, table: ST, alias: SA, ) -> &mut Self
where SS: RdbcIdent, ST: RdbcIdent, SA: RdbcIdent,

Source§

fn temp_table(&mut self, table: QueryWrapper) -> &mut Self

Source§

fn temp_table_alias<T>(&mut self, table: QueryWrapper, alias: T) -> &mut Self
where T: RdbcIdent,

Source§

fn rdbc_table<T>(&mut self, table: T) -> &mut Self
where RdbcTableInner: From<T>,

Source§

fn join_table<T>(&mut self, table: T) -> &mut Self
where T: RdbcIdent,

Source§

fn join_table_alias<TS, TA>(&mut self, table: TS, alias: TA) -> &mut Self
where TS: RdbcIdent, TA: RdbcIdent,

Source§

fn join_schema_table<SS, ST>(&mut self, schema: SS, table: ST) -> &mut Self
where SS: RdbcIdent, ST: RdbcIdent,

Source§

fn join_schema_table_alias<SS, ST, SA>( &mut self, schema: SS, table: ST, alias: SA, ) -> &mut Self
where SS: RdbcIdent, ST: RdbcIdent, SA: RdbcIdent,

Source§

fn join_temp_table(&mut self, table: QueryWrapper) -> &mut Self

Source§

fn join_temp_table_alias<T>( &mut self, table: QueryWrapper, alias: T, ) -> &mut Self
where T: RdbcIdent,

Source§

fn join_rdbc_table(&mut self, table: RdbcTableInner) -> &mut Self

Source§

fn left_join_table<T>(&mut self, table: T) -> &mut Self
where T: RdbcIdent,

Source§

fn left_join_table_alias<T, A>(&mut self, table: T, alias: A) -> &mut Self
where T: RdbcIdent, A: RdbcIdent,

Source§

fn left_join_schema_table<S, T>(&mut self, schema: S, table: T) -> &mut Self
where S: RdbcIdent, T: RdbcIdent,

Source§

fn left_join_schema_table_alias<S, T, A>( &mut self, schema: S, table: T, alias: A, ) -> &mut Self
where S: RdbcIdent, T: RdbcIdent, A: RdbcIdent,

Source§

fn left_join_temp_table(&mut self, table: QueryWrapper) -> &mut Self

Source§

fn left_join_temp_table_alias<T>( &mut self, table: QueryWrapper, alias: T, ) -> &mut Self
where T: RdbcIdent,

Source§

fn right_join_table<T>(&mut self, table: T) -> &mut Self
where T: RdbcIdent,

Source§

fn right_join_table_alias<T, A>(&mut self, table: T, alias: A) -> &mut Self
where T: RdbcIdent, A: RdbcIdent,

Source§

fn right_join_schema_table<S, T>(&mut self, schema: S, table: T) -> &mut Self
where S: RdbcIdent, T: RdbcIdent,

Source§

fn right_join_schema_table_alias<S, T, A>( &mut self, schema: S, table: T, alias: A, ) -> &mut Self
where S: RdbcIdent, T: RdbcIdent, A: RdbcIdent,

Source§

fn right_join_temp_table(&mut self, table: QueryWrapper) -> &mut Self

Source§

fn right_join_temp_table_alias<T>( &mut self, table: QueryWrapper, alias: T, ) -> &mut Self
where T: RdbcIdent,

Source§

fn full_join_table<T>(&mut self, table: T) -> &mut Self
where T: RdbcIdent,

Source§

fn full_join_table_alias<T, A>(&mut self, table: T, alias: A) -> &mut Self
where T: RdbcIdent, A: RdbcIdent,

Source§

fn full_join_schema_table<S, T>(&mut self, schema: S, table: T) -> &mut Self
where S: RdbcIdent, T: RdbcIdent,

Source§

fn full_join_schema_table_alias<S, T, A>( &mut self, schema: S, table: T, alias: A, ) -> &mut Self
where S: RdbcIdent, T: RdbcIdent, A: RdbcIdent,

Source§

fn full_join_temp_table(&mut self, table: QueryWrapper) -> &mut Self

Source§

fn full_join_temp_table_alias<T>( &mut self, table: QueryWrapper, alias: T, ) -> &mut Self
where T: RdbcIdent,

Source§

fn inner_join_table<T>(&mut self, table: T) -> &mut Self
where T: RdbcIdent,

Source§

fn inner_join_table_alias<T, A>(&mut self, table: T, alias: A) -> &mut Self
where T: RdbcIdent, A: RdbcIdent,

Source§

fn inner_join_schema_table<S, T>(&mut self, schema: S, table: T) -> &mut Self
where S: RdbcIdent, T: RdbcIdent,

Source§

fn inner_join_schema_table_alias<S, T, A>( &mut self, schema: S, table: T, alias: A, ) -> &mut Self
where S: RdbcIdent, T: RdbcIdent, A: RdbcIdent,

Source§

fn inner_join_temp_table(&mut self, table: QueryWrapper) -> &mut Self

Source§

fn inner_join_temp_table_alias<T>( &mut self, table: QueryWrapper, alias: T, ) -> &mut Self
where T: RdbcIdent,

Source§

fn on(&mut self) -> &mut QueryFilter

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more