@ -112,7 +112,7 @@ The native types are `String`, `Number`, `Boolean`, `Date` and `null`. You can a
arrays and subdocuments (objects). If a field is `undefined`, it will not be saved (this is different from
arrays and subdocuments (objects). If a field is `undefined`, it will not be saved (this is different from
MongoDB which transforms `undefined` in `null`, something I find counter-intuitive).
MongoDB which transforms `undefined` in `null`, something I find counter-intuitive).
An `_id` field will be automatically generated by NeDB. It's a 16-characters alphanumerical string that cannot be modified once it has been generated. Unlike with MongoDB, you cannot specify it (that shouldn't be a problem anyway).
If the document does not contain an `_id` field, NeDB will automatically generated one for you (a 16-characters alphanumerical string). The `_id` of a document, once set, cannot be modified.