iid statement

The constraint $c iid <IID> matches the stored concept with the provided internal ID (IID).

Schema for the following examples
#!test[schema]
define
attribute name, value string;
entity person, owns name;

Inserting IIDs

When a concept is inserted, it is assigned an IID automatically.

#!test[write]
insert $user isa person;
Example TypeDB Console output
   --------
    $x | iid 0x1f0005000000000000012f isa user
   --------

Matching IIDs

#!test[read]
match $x iid 0x1f0005000000000000012f;