Does Lokijs generate its own IDs?
1 answer
LokiJS generates its own IDs. Since the "id" property is a generic name, to avoid collisions, the unique identifier of the object inserted into the collection is stored in the property $loki
. Other data generated by loki is an object meta
containing information about the creation of the object and the last update, as well as the revision number (the number of times the object was changed).
+4
source to share