TableConstraintType

public enum TableConstraintType

The type of the constraint.

  • A PrimaryKey(...) constraint.

    Declaration

    Swift

    case primaryKey
  • A unique value constraint.

    Declaration

    Swift

    case unique
  • A custom constraint.

    Declaration

    Swift

    case check
  • A value in the table that is a key to a row in a foreign table.

    Declaration

    Swift

    case foreignKey