On safe mode, an object passed with a key and an undefined value is considered as an incomplete query.
This way, when a query is done with an undefined value it will not return the first value found based upon others criterias, but an error or empty object ?
This is to ensure security so that the created query object contains all the required params and doesn't run with incomplete criterias.
On safe mode, an object passed with a key and an undefined value is considered as an incomplete query.
This way, when a query is done with an undefined value it will not return the first value found based upon others criterias, but an error or empty object ?
This is to ensure security so that the created query object contains all the required params and doesn't run with incomplete criterias.