Transactional SQL based RDBMS with sophisticated multi table constraint logic.
Cosyan DB is an SQL based transactional RDBMS with sophisticated multi table constraint logic and language enhancements building heavily on foreign keys.
Users, contributors and constructive feedback is welcome! Please don't forget to hit a star if you like the project.
The long term goal of the project is to substitute the business logic layer (like what you would do in Java EE). This approach comes with some immediate benefits:
insert
,
update
or delete
on a certain table. This is something triggers usually do not cover.Cosyan DB can be used as a standalone database server, or it can be embedded in a JVM app.
destDir
.destDir/conf
dir.start.sh
and stop.sh
.Alternatively you can embed it into a Java project and submit queries through the Java API.
Config config = new Config("destDir/conf");
DBApi dbApi = new DBApi(config);
Session session = dbApi.newAdminSession();
JSONObject result = session.execute("select * from table;").toJSON();
In addition to SQL, extra features are introduced to help with multi-table constraints:
Cosyan DB supports the following SQL DML features:
Select
Distinct
Where
Group by
Having
Order by
Inner
, left
and right join
Insert
Delete
Update
DDL features:
Create
/drop table
Create
/drop index
(on one attribute)Alter table add
/drop column
Alter table add
/drop constraint