Skip to content

Commit 142278f

Browse files
committed
Fixed method toWhereOption
1 parent 11c2f6c commit 142278f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/helpers/query.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,9 @@ export namespace query {
891891
),
892892
};
893893

894+
// NOTE: If included data contains fields which are empty,
895+
// it should be deleted
896+
object.clearObject(filter);
894897
options.include = js.isArray(options.include)
895898
? options.include.concat(includeData)
896899
: [includeData];

0 commit comments

Comments
 (0)