juttle-sql-adapter-common
v0.6.0
Published
Code shared by Juttle adapters for SQL databases
Downloads
25
Readme
Juttle SQL Adapter
Code from the /lib
and /test
directory shared among
PostgreSQL,
MySQL
and SQLite adapters.
List of optimized operations
- any filter expression
read sql
(note:read sql | filter ...
is not optimized) head
ortail
reduce count()
,sum()
,min()
,max()
,sum()
,avg()
,count_unique()
reduce by fieldname
reduce -every :interval:
In case of unexpected behavior with optimized reads, add -optimize false
option to read sql
to disable optimizations, and kindly report the problem as a GitHub issue.
Contributing
Contributions are welcome! Please file an issue or open a pull request.
To check code style and run unit tests:
npm test && npm run lint
Both are run automatically by Travis.