#checkId

( specific directive - since version 3.0.0 )

Checks the existence of ID/Primary Key in the given entity
Throws an error if there's no ID/Primary Key defined in the entity

Examples :

    #checkId( $entity)