We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40b313 commit c93fdaeCopy full SHA for c93fdae
lib/query.js
@@ -3839,17 +3839,12 @@ Query.prototype.selectedInclusively = function selectedInclusively() {
3839
3840
for (var i = 0; i < keys.length; ++i) {
3841
var key = keys[i];
3842
- if (this._fields[key] === 0 || this._fields[key] === false) {
3843
- return false;
3844
- }
3845
- if (this._fields[key] &&
3846
- typeof this._fields[key] === 'object' &&
3847
- this._fields[key].$meta) {
3848
+ if (typeof this._fields[key] !== 'object' && !!this._fields[key]) {
+ return true;
3849
}
3850
3851
3852
- return true;
+ return false;
3853
};
3854
3855
/**
0 commit comments