exists method

Future<bool> exists(
  1. int id
)
inherited

Checks whether or not the id exists.

Implementation

Future<bool> exists(TPrimaryKey id) async {
  return await transaction((context) async {
    return await context.idExists(bean, id);
  });
}