Skip to content

Class: unique_key

a collection of slots whose values uniquely identify an instance of a class

  • consider_nulls_inequal · boolean

    By default, None values are considered equal for the purposes of comparisons in determining uniqueness. Set this to true to treat missing values as per ANSI-SQL NULLs, i.e NULL=NULL is always False.

  • unique_key_name (key) · string · required

    name of the unique key

  • unique_key_slots · list of slot_definition (reference) · required

    list of slot names that form a key. The tuple formed from the values of all these slots should be unique.

Used by Slot Cardinality
class_definition unique_keys 0..*