on GitHub" data-tooltip-id=":Rblcldtb:">v2.6·
In this chapter, you’ll learn how to configure the primary key of a data model.
To set any id
, text
, or number
property as a primary key, use the primaryKey
method.
For example:
In the example above, the id
property is defined as the data model's primary key.