You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,8 @@ var options = {
85
85
profile:"web",
86
86
database:"test"
87
87
},
88
-
omitFormat:false
88
+
omitFormat:false,
89
+
readonly:true,
89
90
};
90
91
91
92
var clickHouse =newClickHouse (options);
@@ -128,6 +129,7 @@ Driver options:
128
129
which returns dataset. Currently `SELECT|SHOW|DESC|DESCRIBE|EXISTS\s+TABLE`.
129
130
You can change this behaviour by providing this option. In this case you should
130
131
add `FORMAT JSONCompact` by yourself. Should be detected automatically. Default `false`;
132
+
***readonly**: tells driver to send query with HTTP GET method. Same as [`readonly=1` setting](https://clickhouse.yandex/docs/en/operations/settings/permissions_for_queries/#settings_readonly). [More details](https://clickhouse.yandex/docs/en/interfaces/http/)
131
133
132
134
133
135
### var stream = clickHouse.query (statement, [options], [callback])
0 commit comments