Skip to content

Commit

Permalink
Enable option for unquotting 64bits integers
Browse files Browse the repository at this point in the history
Keep consistency with schemas by returning integers as numbers in JSON
instead of strings.
  • Loading branch information
0237h committed Jul 3, 2024
1 parent fa58168 commit c47e0c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/clickhouse/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ const client = createClient({
...config,
clickhouse_settings: {
allow_experimental_object_type: 1,
readonly: "1",
exact_rows_before_limit: 1
exact_rows_before_limit: 1,
output_format_json_quote_64bit_integers: 0,
readonly: "1"
},
application: APP_NAME,
});
Expand Down

0 comments on commit c47e0c6

Please sign in to comment.