Commit Graph

53 Commits

Author SHA1 Message Date
mertmit
cec32b81d0 fix: avoid default pool values
Signed-off-by: mertmit <mertmit99@gmail.com>
2025-06-23 14:36:25 +03:00
Fendy Heryanto
854cf25405 re-addd isSelect on nc-sql-executor 2025-06-13 11:54:47 +07:00
DarkPhoenix2704
74d5fa0134 chore: cleanup mssql and sync dependencies 2025-06-10 15:11:01 +05:30
DarkPhoenix2704
fcfdef09be chore: replace handle-bar-helpers 2025-05-29 11:45:32 +05:30
DarkPhoenix2704
eb06509bce fix: failinf tests 2025-05-26 18:30:58 +05:30
DarkPhoenix2704
a65592027e fix: sql-executor bump node 22 and fastify 5 2025-05-26 14:03:07 +05:30
DarkPhoenix2704
45fa5d39d2 fix: bump snowflake-sdk 2025-05-24 14:48:23 +05:30
mertmit
08a96f97d3 chore: bump package versions
Signed-off-by: mertmit <mertmit99@gmail.com>
2025-02-07 00:02:49 +03:00
mertmit
006053f417 chore: keep class names
Signed-off-by: mertmit <mertmit99@gmail.com>
2024-12-11 17:01:51 +05:30
Mert E.
c23bfd0d2c chore: refactor mux (#4150)
Signed-off-by: mertmit <mertmit99@gmail.com>
2024-12-06 16:42:26 +03:00
Mert E.
3467572a40 fix: match @types/node with npmrc (#3883)
* fix: wrong spread

Signed-off-by: mertmit <mertmit99@gmail.com>

* chore: explicit version for @types/node

Signed-off-by: mertmit <mertmit99@gmail.com>

---------

Signed-off-by: mertmit <mertmit99@gmail.com>
2024-10-12 14:19:06 +03:00
Pranav C
af3508e2de fix: capture and handle unhanded error (#3654) 2024-08-21 14:31:01 +03:00
Pranav C
8239b906dd Update the title and placeholder of usecase form (#2928)
* chore: update the title and placeholder

* chore: remove old lock file and sync pnm-lock.file
2024-05-20 21:19:32 +05:30
dependabot[bot]
09693ffa42 chore(deps): bump mysql2 in /packages/nc-sql-executor (#2720)
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.6.2 to 3.9.4.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.6.2...v3.9.4)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-05-20 20:36:15 +05:30
mertmit
51aecadaf4 fix: db error handling
Signed-off-by: mertmit <mertmit99@gmail.com>
2024-04-19 08:46:46 +03:00
mertmit
7115dcb649 feat: dialect support for mux
Signed-off-by: mertmit <mertmit99@gmail.com>
2024-04-18 16:26:44 +03:00
mertmit
eb0fb87af5 fix: mysql insert query returning
Signed-off-by: mertmit <mertmit99@gmail.com>
2024-01-02 19:36:36 +03:00
mertmit
62cf330011 fix: properly throw sql executor errors
Signed-off-by: mertmit <mertmit99@gmail.com>
2024-01-02 17:48:18 +03:00
Pranav C
223e0f1fb7 fix: if buffer type convert to hex value and convert to int only if type is bit 2023-12-13 22:47:26 +05:30
Pranav C
c6a21786c8 fix: move typecast to connection 2023-12-13 19:48:45 +05:30
Pranav C
9eff25bd41 refactor: move function definition and avoid mutating object 2023-12-06 12:46:12 +05:30
Pranav C
0772a50a16 fix(executor): add typeCast method in knex config to handle binary and decimal type 2023-12-06 12:34:17 +05:30
mertmit
51f5ceb94a chore: copy public dir to dist
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-10 13:52:53 +03:00
mertmit
1bfab04278 chore: add public dir
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-10 13:46:51 +03:00
mertmit
6ec63f58e3 fix: support old route
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-10 13:46:51 +03:00
mertmit
e51c216a3f feat: se metrics per source
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-10 13:46:51 +03:00
mertmit
2b41162d56 chore: nc.txt for sql-executor
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-10 13:46:51 +03:00
mertmit
1d9d1918a7 chore: add nc-sql-executor to pnpm workspace
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:27:53 +03:00
mertmit
fbbc5584d2 refactor: suppress se logging
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
a81f83498e fix: single query handling
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
3da2080b7f fix: json schema for sql executor
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
fb5f9cb19c refactor: health api
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
5f0548d875 feat: migrate sql executor to fastify
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
774661843a refactor: prettier
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
70b61d89f9 feat: health check and auto activation for sql executor
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
17620238af feat: dynamic pool size
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
319a84080a refactor: move custom knex part to bottom
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
d12ecd4653 chore: use same node image with nocodb dockerfile
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
b39706ace8 fix: increase max connections to 10
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
842cd55430 test: sql-executor
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
5e4b2eb32c fix: logging for ms
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
starbirdtech383
3f9606f778 add dependency @types/node 2023-11-08 16:01:32 +03:00
starbirdtech383
10f60c8627 sql executor build and deploy to staging scripts 2023-11-08 16:01:32 +03:00
mertmit
980b137ab7 feat: sql executor
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
590cf7fd65 fix: drop min to 0
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
starbirdtech383
be1245effd remove package-lock.json for now 2023-11-08 16:01:32 +03:00
mertmit
40bb507b52 fix: tz issue
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
mertmit
91bbc8bc43 chore: install dependencies
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00
starbirdtech383
06c9b006d6 npm add pg dependency 2023-11-08 16:01:32 +03:00
mertmit
72ae060b19 fix: error handling for sql executor
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-08 16:01:32 +03:00