This commit is contained in:
Billy Chan 2024-06-19 20:45:39 +08:00
parent 9daabb19ee
commit 5e04b3b551
No known key found for this signature in database
GPG Key ID: 45461E52F22E0279

View File

@ -227,15 +227,15 @@ where
}
/// Set ON CONFLICT do nothing, but with MySQL specific polyfill.
///
///
/// ```
/// use sea_orm::{entity::*, query::*, sea_query::OnConflict, tests_cfg::cake, DbBackend};
///
///
/// let orange = cake::ActiveModel {
/// id: ActiveValue::set(2),
/// name: ActiveValue::set("Orange".to_owned()),
/// };
///
///
/// assert_eq!(
/// cake::Entity::insert(orange.clone())
/// .on_conflict_do_nothing()