Struct akita::prelude::UpdateWrapper [−][src]
pub struct UpdateWrapper { pub param_name_seq: AtomicI32, pub sql_set: Vec<String>, pub sql_select: Option<String>, pub sql_comment: Option<String>, pub sql_first: Option<String>, pub last_sql: Option<String>, pub expression: MergeSegments, }
Fields
param_name_seq: AtomicI32
必要度量
sql_set: Vec<String>
SQL set字段
sql_select: Option<String>
SQL查询字段
sql_comment: Option<String>
SQL注释
sql_first: Option<String>
SQL起始语句
last_sql: Option<String>
SQL结束语句
expression: MergeSegments
Implementations
Trait Implementations
fn eq<S: Into<String>, U: Into<Segment>>(
&mut self,
condition: bool,
column: S,
val: U
) -> &mut Self
fn ne<S: Into<String>, U: Into<Segment>>(
&mut self,
condition: bool,
column: S,
val: U
) -> &mut Self
fn gt<S: Into<String>, U: Into<Segment>>(
&mut self,
condition: bool,
column: S,
val: U
) -> &mut Self
fn ge<S: Into<String>, U: Into<Segment>>(
&mut self,
condition: bool,
column: S,
val: U
) -> &mut Self
fn lt<S: Into<String>, U: Into<Segment>>(
&mut self,
condition: bool,
column: S,
val: U
) -> &mut Self
fn le<S: Into<String>, U: Into<Segment>>(
&mut self,
condition: bool,
column: S,
val: U
) -> &mut Self
fn in_<S: Into<String>, U: Into<Segment> + Clone>(
&mut self,
condition: bool,
column: S,
vals: Vec<U>
) -> &mut Self
fn not_in<S: Into<String>, U: Into<Segment> + Clone>(
&mut self,
condition: bool,
column: S,
vals: Vec<U>
) -> &mut Self
fn like<S: Into<String>, U: Into<Segment>>(
&mut self,
condition: bool,
column: S,
val: U
) -> &mut Self
fn not_like<S: Into<String>, U: Into<Segment>>(
&mut self,
condition: bool,
column: S,
val: U
) -> &mut Self
fn like_left<S: Into<String>, U: Into<Segment>>(
&mut self,
condition: bool,
column: S,
val: U
) -> &mut Self
fn like_right<S: Into<String>, U: Into<Segment>>(
&mut self,
condition: bool,
column: S,
val: U
) -> &mut Self
fn between<S: Into<String>, U: Into<Segment>>(
&mut self,
condition: bool,
column: S,
val1: U,
val2: U
) -> &mut Self
fn not_between<S: Into<String>, U: Into<Segment>>(
&mut self,
condition: bool,
column: S,
val1: U,
val2: U
) -> &mut Self
fn add_condition(
&mut self,
condition: bool,
column: Segment,
sql_keword: SqlKeyword,
val: Segment
) -> &mut Self
fn like_value(
&mut self,
condition: bool,
column: Segment,
sql_like: SqlLike,
val: Segment
) -> &mut Self
fn in_sql<S: Into<String>, U: Into<String>>(
&mut self,
condition: bool,
column: S,
in_val: U
) -> &mut Self
Auto Trait Implementations
impl RefUnwindSafe for UpdateWrapper
impl Send for UpdateWrapper
impl Sync for UpdateWrapper
impl Unpin for UpdateWrapper
impl UnwindSafe for UpdateWrapper