Creates a primary key hash generator that takes an item from any format converts it to class format, then to plain, then uses the primitive values to create a string hash.
This function is designed to work on the plain values (db records or json values)
Creates a new JIT compiled function to convert the class instance to a snapshot.
A snapshot is essentially the class instance as plain
serialization while references are
stored only as their primary keys.
Generated function is cached.
Generated using TypeDoc
Extracts the primary key of a snapshot and converts to class type.