Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miniconnect/minibase
RDBMS framework for miniConnect
https://github.com/miniconnect/minibase
database database-driver database-framework java rdbms relational-database sql sql-parser
Last synced: 12 days ago
JSON representation
RDBMS framework for miniConnect
- Host: GitHub
- URL: https://github.com/miniconnect/minibase
- Owner: miniconnect
- License: apache-2.0
- Created: 2022-12-11T19:10:21.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T13:20:34.000Z (22 days ago)
- Last Synced: 2024-10-28T16:56:30.405Z (21 days ago)
- Topics: database, database-driver, database-framework, java, rdbms, relational-database, sql, sql-parser
- Language: Java
- Homepage:
- Size: 307 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# MiniBase
RDBMS framework for miniConnect.
## Overview
MiniBase is a flexible java framework for building relational database engines.
It has built-in support for SQL parsing, query execution, storages, indexing, and more.
It manages concurrency, currently a very basic transaction management is implemented.One of its implementations is [HoloDB, a database seemingly filled with random data](https://github.com/miniconnect/holodb).
## SQL support
[Click here for the SQL documentation](SQL.md)
MiniBase has built-in support for SQL queries. Features:
- Limited support for the CRUD operations
- Multiple schemas, multi-schema queries
- User variables
- Simple expressions`SELECT` example, demonstrating most of the supported features:
```sql
SELECT
t3.*,
t1.label,
t1.created t_created,
CONCAT(@somevar, ': ', t4.col1) AS `concatenated value`
FROM base_table t1
INNER JOIN inner_joined_table t2 ON t2.id = t1.i_id
LEFT JOIN left_joined_table t3 ON t3.id = t1.l_id
LEFT JOIN other_left_joined_table t4 ON t4.id = t3.l2_id
WHERE
t1.category = 'basic' AND
t1.id >= 150 AND
t1.id < 960 AND
t4.year BETWEEN 1995 AND 2003 AND
t4.phone IS NOT NULL
ORDER BY
t1.level,
1 DESC,
t3.price ASC NULLS LAST
LIMIT 10
```