updateOne method Null safety
InstanceType in the underlying database.
This method works the same as update, except it may only update one row in the underlying database. If this method ends up modifying multiple rows, an exception is thrown.
InstanceType has properties with Validate metadata, those validations
will be executed prior to sending the query to the database.