ojob.io/db/query

Usage

ojob ojob.io/db/query jdbc=jdbc:h2:stuff class=org.h2.Driver user=sa pass=sa sql="select count(*) cnt from data" 

Description

Queries data on a JDBC database.

Expects

Name Description
jdbc The database JDBC URL to use (defaults to create a memory database)
class The JDBC driver class to use (defaults to H2)
user The database user to use (defaults to "sa")
pass The database password to use (defaults to "sa")
sql The SQL query to execute over the database defined.