File tree Expand file tree Collapse file tree
examples/mysql/all_about_inserts/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ fn examine_sql_from_insert_get_results_batch() {
320320 `users`.`hair_color`, `users`.`created_at`, \
321321 `users`.`updated_at` \
322322 FROM `users` \
323- ORDER BY `users`.`id` DESC \
323+ ORDER BY `users`.`id` DESC \
324324 -- binds: []";
325325 assert_eq ! ( load_sql, debug_query:: <Mysql , _>( & load_query) . to_string( ) ) ;
326326}
@@ -372,7 +372,7 @@ fn examine_sql_from_insert_get_result() {
372372 `users`.`hair_color`, `users`.`created_at`, \
373373 `users`.`updated_at` \
374374 FROM `users` \
375- ORDER BY `users`.`id` DESC \
375+ ORDER BY `users`.`id` DESC \
376376 -- binds: []";
377377 assert_eq ! ( load_sql, debug_query:: <Mysql , _>( & load_query) . to_string( ) ) ;
378378}
@@ -399,7 +399,7 @@ fn examine_sql_from_explicit_returning() {
399399 debug_query:: <Mysql , _>( & insert_query) . to_string( )
400400 ) ;
401401 let load_query = users. select ( id) . order ( id. desc ( ) ) ;
402- let load_sql = "SELECT `users`.`id` FROM `users` ORDER BY `users`.`id` DESC -- binds: []" ;
402+ let load_sql = "SELECT `users`.`id` FROM `users` ORDER BY `users`.`id` DESC -- binds: []" ;
403403 assert_eq ! ( load_sql, debug_query:: <Mysql , _>( & load_query) . to_string( ) ) ;
404404}
405405
You can’t perform that action at this time.
0 commit comments