Skip to content

jayleehappy/sql-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL Builder / SQL构建器

English | 中文

English

Introduction

SQL Builder is a visual SQL query building tool that helps users create SQL statements through a graphical interface. It supports various SQL operations including SELECT, INSERT, UPDATE, DELETE, and CREATE TABLE.

Features

  • Visual SQL query building
  • Support for multiple SQL operations
  • Tag-based SQL fragment management
  • Condition building with operators
  • Field value assignment
  • SQL validation
  • History tracking
  • SQL template library

Installation

  1. Clone the repository:
git clone https://github.com/jayleehappy/sql-builder.git
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the application:
python -m src.main

Usage

  1. Select SQL type (SELECT/INSERT/UPDATE/DELETE/CREATE)
  2. Choose table and fields
  3. Add conditions if needed
  4. Set field values for INSERT/UPDATE
  5. Preview and validate the generated SQL
  6. Copy or save the SQL statement

License

GNU General Public License v3.0


中文

简介

SQL构建器是一个可视化的SQL查询构建工具,通过图形界面帮助用户创建SQL语句。支持包括SELECT、INSERT、UPDATE、DELETE和CREATE TABLE在内的多种SQL操作。

功能特点

  • 可视化SQL查询构建
  • 支持多种SQL操作
  • 基于标签的SQL片段管理
  • 条件构建与运算符
  • 字段值设置
  • SQL语句验证
  • 历史记录跟踪
  • SQL模板库

安装

  1. 克隆仓库:
git clone https://github.com/jayleehappy/sql-builder.git
  1. 安装依赖:
pip install -r requirements.txt
  1. 运行应用:
python -m src.main

使用方法

  1. 选择SQL类型(SELECT/INSERT/UPDATE/DELETE/CREATE)
  2. 选择表和字段
  3. 根据需要添加条件
  4. 为INSERT/UPDATE设置字段值
  5. 预览和验证生成的SQL
  6. 复制或保存SQL语句

许可证

GNU通用公共许可证v3.0

About

A visual SQL query building tool

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors