DBOperator
About 90 wordsLess than 1 minute
2025-10-09
DBOperator is an operator designed to execute a given SQL expression against a database storage system.
__init__
def __init__(self, expr)| Parameter | Type | Default | Description |
|---|---|---|---|
| expr | str | Required | The SQL expression to execute. |
Prompt Template Descriptions
| Prompt Template Name | Primary Use | Applicable Scenarios | Feature Description |
|---|---|---|---|
run
def run(self, storage:MyScaleDBStorage, input_key:str)| Parameter | Type | Default | Description |
|---|---|---|---|
| storage | MyScaleDBStorage | Required | The database storage instance to use. |
| input_key | str | Required | The key for the input data. |
🧠 Example Usage

