diff --git a/src/query/update.rs b/src/query/update.rs index 2f11d646b..f86855dc1 100644 --- a/src/query/update.rs +++ b/src/query/update.rs @@ -314,6 +314,11 @@ impl UpdateStatement { pub fn with(self, clause: WithClause) -> WithQuery { clause.query(self) } + + /// Get column values + pub fn get_values(&self) -> &Vec<(DynIden, Box)> { + &self.values + } } impl QueryStatementBuilder for UpdateStatement {