30-50% off hundreds of digital assets! WordPress themes, video, music and more 30-50% Off Go to Sale

2.2 Add a Primary Key and Description

A common requirement with databases is to be able to retrieve a single object, or record, using a unique identifier. Primary keys, in other words. Strictly speaking, Realm is an object database as opposed to a relational database, so primary keys are not created by default. But they are very easy to add.