camel cmd sql
Execute SQL query on a DataSource
Options
| Option | Description | Default | Type |
|---|---|---|---|
|
Name of the DataSource bean (auto-detected if only one exists) |
String |
|
|
Maximum number of rows to return |
100 |
int |
|
The SQL query to execute, or file:<path> to load from a file |
String |
|
|
Query timeout in seconds |
30 |
int |
|
Display the help and sub-commands |
boolean |