Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Commit

Permalink
Deprecate DbModels.insertIfNotExists
Browse files Browse the repository at this point in the history
  • Loading branch information
synw committed Feb 14, 2020
1 parent 228b983 commit c9f08ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/schema/models/dbmodels.dart
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ class DbModel {
}

/// Insert a row in the database table if it does not exist already
@Deprecated(
"The insertIfNotExists function will be removed after version 4.4.0")
Future<int> sqlInsertIfNotExists({bool verbose = false}) async {
_checkDbIsReady();
final data = this.toDb();
Expand Down

0 comments on commit c9f08ca

Please sign in to comment.