Assert Term in the recorded database under key Key.
Key is a small integer (range min_tagged_integer
atom or compound term. If the key is a compound term, only the name and
arity define the key.
Reference is unified with an opaque handle to the record (see
True if Value is recorded under Key and has the
given database Reference. If Reference is given,
this predicate is semi-deterministic. Otherwise, it must be considered
non-deterministic. If neither Reference nor Key is
given, the triples are generated as in the code snippet below.79Note
that, without a given Key, some implementations return
triples in the order defined by recorda/2
See also current_key/1.
Erase a record or clause from the database. Reference is a
db-reference returned by recorda/3, recordz/3
or recorded/3, clause/3,
Fail silently if the referenced object no longer exists. Notably, if
multiple threads attempt to erase the same clause one will succeed and
the others will fail.