Creating Document with Undefined Schema Fields
TLDR Matthias questioned how they can create a document with undefined schema fields. Jason explained it's by design and suggested using
exclude_fields to control returned fields.
Sep 16, 2021 (28 months ago)
Indexed 3015 threads (79% resolved)
Automatically Omitting Extra Fields Not in Schema
Daniel inquired about omitting extra fields not defined in a schema. Kishore Nallan explained that non-schema fields are stored but not indexed for operations.
Understanding Collection Schema in Database Queries
em1nos needed clarification on the function of schemas in database collections, Jason confirmed that schema is for searching, and filtering purposes, and discussed the usage of include/exclude_fields parameters.
Querying Documents with Specific Fields and Wildcards
Jacob asked how to query a subset of documents having specific fields. Kishore Nallan suggested using NULL as an identifier to exclude documents without the required field.