update method

Future<List<MethodInfo>> update(
  1. Session session,
  2. List<MethodInfo> rows, {
  3. ColumnSelections<MethodInfoTable>? columns,
  4. Transaction? transaction,
})

Updates all MethodInfos in the list and returns the updated rows. If columns is provided, only those columns will be updated. Defaults to all columns. This is an atomic operation, meaning that if one of the rows fails to update, none of the rows will be updated.

Implementation

Future<List<MethodInfo>> update(
  _i1.Session session,
  List<MethodInfo> rows, {
  _i1.ColumnSelections<MethodInfoTable>? columns,
  _i1.Transaction? transaction,
}) async {
  return session.db.update<MethodInfo>(
    rows,
    columns: columns?.call(MethodInfo.t),
    transaction: transaction,
  );
}