juttle-sql-adapter-common

0.6.0 • Public • Published

Juttle SQL Adapter

Build Status

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 or tail
  • 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.

Readme

Keywords

Package Sidebar

Install

npm i juttle-sql-adapter-common

Weekly Downloads

3

Version

0.6.0

License

Apache-2.0

Last publish

Collaborators

  • demmer
  • vladvega