Skip to content

Commit 9974e06

Browse files
committed
support aggregate
1 parent f51ae67 commit 9974e06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/domain/datasource-factory.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ const DsCoreExtensions = superclass =>
180180

181181
const opts = {
182182
...options,
183-
streamRequested: options?.writable ? true : false
183+
streamRequested:
184+
options?.writable && !options?.query?.__aggregate ? true : false
184185
}
185186
const list = [await super.list(opts)].flat()
186187

0 commit comments

Comments
 (0)