Chat mapper
<

Specifying the properties that form the primary key is chat mapper. For example, the following example will only issue 2 queries.