mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-08-12 09:03:40 +00:00
work on auto-generating parts of docs from JSONSchema
This commit is contained in:
@@ -4,15 +4,13 @@ sidebar:
|
||||
label: Query
|
||||
order: 1
|
||||
---
|
||||
import SchemaInfo from '../../../../components/SchemaInfo.astro';
|
||||
|
||||
The `db.query` processor will issue a query to the specified module and return the result to the next processor in line.
|
||||
The module must implement the `DatabaseModule` interface for this processor to work.
|
||||
This processor will return an error if any of the required parameters are missing/invalid or if the module does not implement the `DatabaseModule` interface.
|
||||
|
||||
- **type**: `db.query`
|
||||
- **params**:
|
||||
- **module**: the id of the [module](/concepts/modules) to issue query to.
|
||||
- **query**: the query to execute.
|
||||
<SchemaInfo type="processor" id="db.query"/>
|
||||
|
||||
### Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user