updateOne method

Future<InstanceType> updateOne ()

Updates an 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.

If the InstanceType has properties with Validate metadata, those validations will be executed prior to sending the query to the database.

Implementation

Future<InstanceType> updateOne();