Skip to content

多个查询SQL执行报错Only a single query SQL can be filled #64

@githipy

Description

@githipy

Please confirm before submission 在提交之前,请确认

Dify version Dify版本

1.14.2

db_query or db_query_pre_auth

Database Query (Pre-authorization) 数据库查询(预授权)

Plugin version 插件版本

0.0.11

database and version 数据库及版本

mysql8.0.35

Problem description 问题描述

SQL内容为多个查询时执行报错。
如输入:
select count(1) as `用户总数` from sys_user;select count(1) as `机构总数` from sys_dept;

报错:error details: Only a single query SQL can be filled

只允许SELECT可以理解,希望可以支持多SELECT SQL查询

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions