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 a8b43e3 commit 6aa1b7fCopy full SHA for 6aa1b7f
session.js
@@ -60,7 +60,7 @@ LevelSession.prototype.find = function(query, cb) {
60
data.value.__calypsoKey = data.key;
61
if (query.modelConfig.constructor)
62
{
63
- if (compiled.fields.length > 0 && (compiled.fields[0].name !== '*' && compiled.fields[0] !== '*')) {
+ if (compiled.fields.length > 0 && (compiled.fields[0].name !== '*' || compiled.fields[0] !== '*')) {
64
buffer.push(result);
65
} else {
66
buffer.push(convertToModel(query.modelConfig, result, false));
0 commit comments