Schema is not applied in reading
See original GitHub issueI have a collection on MongoDb with several fields and not all of them are defined in the model schema. For example on the db I have a document with fields a, b, c
and d
, and in my mongoose schema I have only a
and b
defined.
When I query the collection, the returned documents contains also these additional fields.
Why? IMHO it shouldn’t be like that, the returned document should contains only the declared fields.
Opinions?
thx
Issue Analytics
- State:
- Created 7 years ago
- Comments:11
Top Results From Across the Web
Teaching Readers to Use their Schema - This Reading Mama
Teaching readers how to use their schema is vital for comprehension to occur. Try this simple schema activity for activating schema and ...
Read more >Teaching Schema To Primary Readers: The Why, How, and ...
Our schema helps us interpret the world around us. If we don't actively think about what we are reading, we are simply reading...
Read more >Schemata Theory and the Implication for Teaching Reading ...
Another important characteristics of schema is that, a schema is not constructed in isolation of what else is known. Any type of knowledge...
Read more >The Effects of Schema Activation and Reading Strategy Use ...
The findings of the study showed that reading strategy use proved to be a significant contributor to reading comprehension but not for background...
Read more >Schema Theory in Reading - Academy Publication
general knowledge structure used for understanding". The fundamental tenet of schema theory assumes that written text does not carry meaning by itself.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@vkarpov15 JSON Schema can be use to validate JSON data in much places in modern web services. It will be very helpful if there are tools for converting format between Mongoose Schemas and JSON Schemas. That will be easy to reuse JSON Schemas.
@Enado95 not currently.