mirror of
https://github.com/langgenius/dify-plugins.git
synced 2026-07-22 01:55:36 -04:00
[PR #220] [CLOSED] db_query #716
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-plugins/pull/220
Author: @canjian215215
Created: 3/24/2025
Status: ❌ Closed
Base:
main← Head:main📝 Commits (3)
279cc2fThis plugin can convert statistical data into ECharts charts for display.f214f2cadd dify_echarts.difypkg657a397This is a dify-db tool make it easy to query data from existing databases.📊 Changes
48 files changed (+3115 additions, -0 deletions)
View changed files
➕
Organization/db_query/.difyignore(+178 -0)➕
Organization/db_query/.env.example(+4 -0)➕
Organization/db_query/.gitignore(+171 -0)➕
Organization/db_query/GUIDE.md(+117 -0)➕
Organization/db_query/PRIVACY.md(+3 -0)➕
Organization/db_query/README.md(+56 -0)➕
Organization/db_query/_assets/icon.svg(+1 -0)➕
Organization/db_query/db_query.difypkg(+0 -0)➕
Organization/db_query/endpoints/sql_execute.py(+37 -0)➕
Organization/db_query/endpoints/sql_execute.yaml(+5 -0)➕
Organization/db_query/main.py(+6 -0)➕
Organization/db_query/manifest.yaml(+57 -0)➕
Organization/db_query/provider/db_query.py(+44 -0)➕
Organization/db_query/provider/db_query.yaml(+118 -0)➕
Organization/db_query/provider/db_query_endpoint.yaml(+104 -0)➕
Organization/db_query/requirements.txt(+7 -0)➕
Organization/db_query/tools/db_util.py(+83 -0)➕
Organization/db_query/tools/sql_execute.py(+71 -0)➕
Organization/db_query/tools/sql_execute.yaml(+63 -0)➕
Organization/db_query/tools/text2sql.py(+103 -0)...and 28 more files
📄 Description
dify db_query
Author: fly
Version: 0.0.2
Type: tool
Description
This is a dify-db tool make it easy to query data from existing databases.
You can get different format of data, like json, csv, yaml, xlsx, html, md etc. Also support use a url to get those data.
Features
Usage
Database Connection Strings
mysql/Doris/oracle/postgreSQL/SQLite127.0.0.13306test123testalt_host=host1&alt_host=host2&ssl_cipher=/path/to/crtTools
sql: This tool is used to execute SQL queries against the database.query: This tool translates user input into a valid SQL query.endpoint: This feature allows you to retrieve data via URL requests.Example URL Request
Installation
Installation Link
References
Version History
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.