Field Attributes

Snowflake @Unique Reference

The @Unique attribute is the equivalent to UNIQUE in Snowflake.

Parameters

This attribute has no parameters.

Example

table Test {
  id VarChar(36) @PrimaryKey
  name VarChar(255) @Unique
  //                ^^^^^^^
}
Previous
@PrimaryKey