doUpdate<O> method

  1. @override
FutureOr doUpdate<O>(
  1. TransactionOperation op,
  2. String entityName,
  3. String table,
  4. O o,
  5. Object id,
  6. Map<String, dynamic> fields, {
  7. String? idFieldName,
  8. PreFinishDBOperation? preFinish,
  9. bool allowAutoInsert = false,
})
override

Implementation

@override
FutureOr<dynamic> doUpdate<O>(TransactionOperation op, String entityName,
        String table, O o, Object id, Map<String, dynamic> fields,
        {String? idFieldName,
        PreFinishDBOperation? preFinish,
        bool allowAutoInsert = false}) =>
    executeTransactionOperation(
        op,
        (conn) =>
            _doUpdateImpl(op, table, fields, entityName, id, preFinish));