MySQL
npm i
npm run build
npx tsc
Run the connector:
node dist/index.js serve --configuration .
Queries supported as of now:
(Please refer to snapshots
folder for sample queries and to understand syntax.)
- Aggregates:
(GROUP BY not supported yet, hence kindly do not make combined request for fields and aggregate functions.)
- sum
- min
- max
- stddev_pop
- stddev_samp
- var_pop
- var_samp
- csv (GROUP_CONCAT)
- avg
- COUNT(*)
- COUNT(<column_name>) (DISTINCT or not)
- Limit
- Offset
- Where:
- "and": AND
- "or" : OR
- Comparison Operators (Only for Column
compared to
Scalar):- "_lte" : <=
- "_lt" : <
- "_gte" : >=
- "_gt" : >
- "_eq" : =
- "_like" : LIKE
- "_contains" : CONTAINS (LIKE %<expr>%)
- "_in" : IN
- Order By (Multilevel Order By supported)
- You can connect two or more tables by using the 'relationship' type in fields.