Skip to content

Commit ea10a5a

Browse files
committed
fix: continue if property is $options
1 parent 78a3c4d commit ea10a5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,8 @@
614614
}
615615
} else {
616616
for (let property of Object.keys(query[key])) {
617+
if (property === '$options')
618+
continue
617619
if (!property.startsWith('$')) {
618620
if (typeof dataValue !== 'object') {
619621
return false;

0 commit comments

Comments
 (0)