Support for querying for uniqueness constraints