Skip to content

juttle/juttle-sql-adapter-common

Repository files navigation

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.