TimonKK
3057cccc4b
Merge pull request #85 from CherryCHan/branch_long_query
...
Branch long query
2022-03-31 00:30:48 +03:00
TimonKK
1dff3f7af5
Merge pull request #105 from adhilton25/f/query-parameterization
...
Query Parameterization
2022-03-31 00:29:12 +03:00
1u0n
776c496d3a
avoid too many event listeners
...
when calling writeRow around a million times in a loop I get "MaxListenersExceededWarning: Possible EventEmitter memory leak detected" warning message, because when waiting for 'drain' the code is not removing the 'error' listener it attaches.
This change just removes the attached 'error' listener and avoids the warning, functionality stays the same.
2022-03-12 11:59:23 +01:00
dmitry.berezhnov
8ccc02d54f
fix(feat): fix query parsing
2022-01-26 00:22:52 +03:00
Adam Hilton
a5d552ce2c
Correctly handle expected format of strings.
2022-01-01 21:37:30 -07:00
Adam Hilton
df8a976eab
Allow passing of params and injecting into http request params for use in parameterized queries.
2022-01-01 20:11:16 -07:00
TimonKK
a84d890a1d
fix: error code parsing
2021-09-23 23:51:17 +03:00
Nikolay Kolesnikov
f92813b88e
socket error handler added
2021-09-16 15:52:02 +03:00
Dmitry Berezhnov
b918bed362
(fix): upgrade version with last PR commits
2021-08-20 01:05:51 +03:00
TimonKK
378325ddce
Merge pull request #87 from hlopetz/issue-86
...
Addressing Issue 86: HTTPS expected to have port 443 by default
2021-08-20 00:44:05 +03:00
Francesco Rivola
bfbec61271
added raw insert support
2021-07-13 12:15:08 +02:00
Andrey Maksimov
28983853ab
HTTPS expected to have port 443 by default #86
2021-06-17 18:17:46 +03:00
rachelchen
55356a3fc1
delete console
2021-06-10 17:47:48 +08:00
rachelchen
f4cde9dd96
feat: support long sql with opt
2021-06-10 17:44:51 +08:00
CherryCHan
2a0e5fc1a5
Merge branch 'TimonKK:master' into master
2021-06-09 21:34:09 +08:00
Alex
55c34371ed
#75 : Add raw return type: tests
2021-04-09 19:12:46 +03:00
Alex
a5a439c225
#75 : Add raw return type: minor fix
2021-04-08 16:33:33 +03:00
Alex
0b26cfa0ea
#75 : Add raw return type
2021-04-07 22:16:51 +03:00
rachelchen
e4108e8a08
support query long sql
2021-04-07 17:01:57 +08:00
tagplus5
a8cb3b597d
Fix save dates before 2002 year on DateTime fields
...
Issue https://github.com/TimonKK/clickhouse/issues/65
2020-12-13 18:39:27 +02:00
Matthew Peveler
6e78d60221
chore: unify identation to tab stops
...
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com >
2020-12-05 12:12:45 -05:00
Dmitry Berezhnov
4ace48ff5c
fix(url): fix stange behavore
2020-11-02 18:16:24 +03:00
Dmitry
e33eee6481
fix(port): fix port settings from uri
2020-07-03 12:40:25 +03:00
Dmitry
5af1d6c29b
fix(doc): fix configs example from doc
2020-05-29 18:45:16 +03:00
TimonKK
9ea48f9b5d
Merge branch 'master' into master
2020-05-15 11:33:55 +03:00
Sarthak Sawhney
f1660d9d86
Update index.js
2020-05-05 16:53:18 +05:30
Dmitry
5fc7689cd7
fix(query): add fix for query
...
1. add setting for generation of session id for each query
2. fix handle of error from stream query
2020-04-30 15:52:38 +03:00
Dmitry
b2b02c2e77
test(index): add test of WITH TOTALS
2020-04-23 11:35:03 +03:00
Dmitry
05e94de287
fix(index.js): add test and fix for query with totals
2020-04-14 17:49:33 +03:00
Ian Maddox
e042308c89
Providing a more descriptive error message
2020-04-13 17:45:23 -07:00
Dmitry
2118433322
fix(index): hide console.log under debug flag
2020-02-15 01:52:33 +03:00
Dmitry
d0d19ca18e
refactor(index): global refactoring
2020-02-05 16:35:30 +03:00
Pavel
eedce5f094
added CSV and TSV Streams on CSVWithNames, TabSeparatedWithNames format query cases
2019-09-29 10:53:25 +04:00
Pavel
f42b32907f
added tsv csv parsers on select query
...
# not completed parsers work on stream
2019-09-18 20:25:30 +04:00
Pavel
f6ea85faf0
added insert query format check case
2019-09-17 01:41:48 +04:00
Rayvid
482db7afba
fix throw error as soon it happens, it wasn't throwing when server unavailable
2019-05-10 17:54:04 +03:00
Andrew Derbitov
89650ddecc
Fix #2
2019-03-19 17:28:39 +03:00
Andrew Derbitov
4de1b8d345
Fix stuped mistake
2019-03-19 17:17:41 +03:00
Andrew Derbitov
075766c921
Add method "desttroy"
2019-03-11 19:21:45 +03:00
Andrew Derbitov
5f51bfa48a
Fix EXISTS query
2019-02-25 12:02:14 +03:00
Andrew Derbitov
a78786fcbb
Fix username & password use
2019-02-14 13:33:31 +03:00
Andrew Derbitov
9bccb1d8de
Add some fearchers
2019-02-14 00:12:39 +03:00
Andrew Derbitov
10a4951a1a
Add hack for compatibility
2019-02-12 15:34:20 +03:00
Andrew Derbitov
352f1c974b
Add TLS/SSL Protocol support and async iteration over SELECT
2019-02-07 16:27:59 +03:00
Andrew Derbitov
49b5b61011
Add new option and test
2019-01-21 18:02:37 +03:00
Andrew Derbitov
b9df4fb866
Add new way for callback and fix test
2019-01-12 17:23:36 +03:00
Tgarifullin
115393f59c
zero int values inserting problem fix
2018-11-03 00:56:30 +03:00
Tgarifullin
ec41c01312
boolean and int values problem fix
...
problem occurs on zero int value or boolean value insert
2018-11-02 23:37:30 +03:00
boston
f86b931382
add withTotals
2018-09-30 22:33:19 +03:00
boston
b01ac912a3
remove unused encodeRow
2018-09-30 22:04:48 +03:00