Skip to content

Commit ac77ab6

Browse files
fix: Changes default query to read
This is to better support servers that don't have `eval` support. All servers should have `read` support
1 parent 663352b commit ac77ab6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface HaystackVariableQuery {
3333
}
3434

3535
export const DEFAULT_QUERY: Partial<HaystackQuery> = {
36-
type: 'eval',
36+
type: 'read',
3737
eval: '[{ts: $__timeRange_start, v0: 0}, {ts: $__timeRange_end, v0: 10}].toGrid',
3838
hisRead: 'abcdef-123456',
3939
hisReadFilter: 'point and his and temp and air and outside',

0 commit comments

Comments
 (0)