Embedthis Development
Embedthis Development
We've dug into this and the warning would trigger a lot of false positives. Sorry.
Fixed this so that if you provide {many: true} to remove, it will always do a find and then remove those items.
Your choice. You don't have to specify them in the model, but if you are using TS and want intellisense, then define them in your model.
The timestamp fields are always returned. Probably should respond to the "hidden" param and not be returned by default. But currently, they are returned. Changing would probably break some existing...
To do that, just define them in your model. TS definitions are auto-generated from your schema, so if you want them defined, you need to include them in your model.
Using the following should work. i.e. Field.items with a nested schema. ``` addresses: { type: Array, required: true, items: { type: Object, schema: { line1: {type: String, required: true}, line2:...
Want to try your hand at a PR to update the doc? https://github.com/sensedeep/onedoc