Request for inserting data into a table.
| 34 | |
| 35 | |
| 36 | class InsertRequest(BaseModel): |
| 37 | """Request for inserting data into a table.""" |
| 38 | table_name: str = Field(description="Name of the table") |
| 39 | data: Union[Dict[str, Any], List[Dict[str, Any]]] = Field(description="Data to insert") |
| 40 | on_conflict: Optional[str] = Field(default=None, description="Conflict resolution: 'REPLACE' for INSERT OR REPLACE, 'IGNORE' for INSERT OR IGNORE") |
| 41 | |
| 42 | |
| 43 | class UpdateRequest(BaseModel): |
no outgoing calls