isNameExist method

Future<bool> isNameExist(
  1. String value
)

Implementation

Future<bool> isNameExist(String value) async {
  try {
    return await HycopFactory.dataBase!.isNameExist(collectionId, value: value);
  } catch (e) {
    logger.severe('databaseError $e');
    //throw HycopException(message: 'databaseError', exception: e as Exception);
  }
  return false;
}