existsSync method

bool existsSync(
  1. DatabaseClient databaseClient
)

Return true if the record exists synchronously.

Implementation

bool existsSync(DatabaseClient databaseClient) {
  var client = getClient(databaseClient);
  return client
      .getSembastStore(store)
      .txnRecordExistsSync(client.sembastTransaction, key as Key);
}