delete method

Future<int> delete(
  1. Session session,
  2. Object key
)

Implementation

Future<int> delete(
  Session session,
  /* K | List  */ Object key,
) async {
  return await deleteAll(
    session,
    where: (c) => _whereFromKey(c, key),
    // limit: 1, - postgresql does not recognize limit
  );
}