d-r-q / qbit

qbit is a kotlin-multiplatform embeddable decentralized DBMS with object-relational information model
44 stars 9 forks source link

Analytic queries #44

Open d-r-q opened 5 years ago

d-r-q commented 5 years ago

Actual behavior: qbit supports only pull api to pull entities

But database should provide way to execute analytical queries - i.e. queries that allow to fetch information of custom shape, using joins and aggregate functions.

There are several approaches to consider: 1) Something sql-like - sql, jpql, cql (cassandra), gql (neo4j) etc 2) GraphQL 3) Monad comprehensions 4) Datalog 5) Something else?

It's necessary to investigate all existing approaches for querying, choose the best one and implement it.