Squiggle is a simple query maker for Java. Simple enough for someone to make a simple query without the need to write a query in raw String .
I took this source code from https://code.google.com/archive/p/squiggle-sql/ whose author is Joe Walnes so credits to him.
Im planning on giving maintenance to it, and developing it even further since I believe its a useful project not to be left aside. The purpose of this is to create a tool optimized to create queries, thats it, thats the tweet (?. Haha okay..., jokes aside, its not an ORM to handle objects within databases, though im looking forward to multi-DB compatible releases. I'll try to update it most of the time, any suggestion or improvement you see worth it, be my guest to suggest in the issue section or even more, fork it and PR later.
Actually we are on v1.6.9.1 Squiggle can make
- SELECT
- INSERT
- UPDATE
- DELETE
- CREATE TABLE
- CREATE DATABASE
- JOIN
- INNER
- LEFT
- RIGHT
- OUTER
- FULL
- ON CONDITION BUILDER
- WHERE
- GROUP BY
- ORDER BY
- CONSTRAINTS
- PRIMARY KEY
- FOREIGN KEY
- AUTO INCREMENT
- NULLABLE
- NOT NULLABLE
- UNIQUE
- DEFAULT VALUE
- FUNCTIONS
- SUM
- AVERAGE
- COUNT
In the future, I hope to add other SQL Engines in order to be Oracle, PostgreSQL and MySQL compatible. Also handle views and more table definitions as well as triggers.
- SQL SERVER - [X]
- MySQL - [X]
- Oracle - [X]
- PostgreSQL - [ ]
- SELECT - [X]
- INSERT - [X]
- UPDATE - [X]
- DELETE - [X]
- GROUP BY - [X]
- CREATE TABLE - [X]
- CREATE DATABASE - [X]
- CREATE TRANSACTION - [X]
- CREATE COMMIT - [X]
- CREATE VIEW - [ ]
- TRIGGERS - [ ]