delete method

Future<List<MethodInfo>> delete(
  1. Session session,
  2. List<MethodInfo> rows, {
  3. Transaction? transaction,
})

Deletes all MethodInfos in the list and returns the deleted rows. This is an atomic operation, meaning that if one of the rows fail to be deleted, none of the rows will be deleted.

Implementation

Future<List<MethodInfo>> delete(
  _i1.Session session,
  List<MethodInfo> rows, {
  _i1.Transaction? transaction,
}) async {
  return session.db.delete<MethodInfo>(
    rows,
    transaction: transaction,
  );
}