open static fun longResult(@Nullable results: MutableCollection<*>): Long
Return a unique long result from the given Collection. Throws an exception if 0 or more than 1 result objects found, of if the unique result object is not convertible to a long.
results - the result Collection (can be null but is not expected to contain null elements)
IncorrectResultSizeDataAccessException - if more than one result object has been found in the given Collection
EmptyResultDataAccessException - if no result object at all has been found in the given Collection
TypeMismatchDataAccessException - if the unique object in the collection is not convertible to a long
Return
the unique long result