diff --git a/docs/ormlite/apis/update.md b/docs/ormlite/apis/update.md index a6cfd05d04..bc4a832369 100644 --- a/docs/ormlite/apis/update.md +++ b/docs/ormlite/apis/update.md @@ -137,7 +137,7 @@ var updateFields = new Dictionary { [nameof(Person.FirstName)] = "JJ", }; -db.UpdateOnlyFields(updateFields, p => p.LastName == "Hendrix"); +db.UpdateOnly(updateFields, p => p.LastName == "Hendrix"); ``` Using a typed SQL Expression: