Struct restq::ast::dml::BulkUpdate [−][src]
pub struct BulkUpdate { pub table: TableName, pub columns: Vec<ColumnName>, pub values: Vec<Vec<Value>>, }
Expand description
PATCH /product{*product_id,name} 1,go pro,1,go pro hero4 2,shovel,2,slightly used shovel
Fields
table: TableName
columns: Vec<ColumnName>
values: Vec<Vec<Value>>
Implementations
pub fn into_sql_statements(
&self,
table_lookup: Option<&TableLookup>
) -> Result<Vec<Statement>, Error>
pub fn into_sql_statements(
&self,
table_lookup: Option<&TableLookup>
) -> Result<Vec<Statement>, Error>
convert bulk update into sql statements
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BulkUpdate
impl Send for BulkUpdate
impl Sync for BulkUpdate
impl Unpin for BulkUpdate
impl UnwindSafe for BulkUpdate
Blanket Implementations
Mutably borrows from an owned value. Read more