new query(options) → {Operation}
Execute a SQL statement
Parameters:
Name | Type | Description |
---|---|---|
options |
object | Payload data for the message |
- Source:
Returns:
- Type
- Operation
Example
execute(
query({ sql: 'select * from users;' })
)(state)