Moving FutureSQL to KDE review

Jonah Brüchert jbb at kaidan.im
Thu Mar 23 18:06:22 GMT 2023


Hi!

I would like to move my new project FutureSQL to KDE review.

It aims to unify and simplify accessing SQL databases.
In many KDE projects, there are custom abstractions that all end up 
doing very similar things:
  - Running SQL(ite) queries on another thread
  - extracting the query results from the QSqlQuery
  - migrating database schemas
  - printing error messages in case queries fail

FutureSQL aims to unify all of that. Its methods return QFuture objects 
that complete asynchronously, hence the name.
It also has a template based system for automatically deserializing 
query results into structs, and includes a migration system that is able 
to automatically run SQL scripts if the database needs to be migrated.

I would like to maintain it as an independent library for now, to be 
able to use C++20 features and possibly release new major versions in 
case the API turns out to not be flexible enough.

You can find the repository here: 
https://invent.kde.org/libraries/futuresql.
Please let me know the issues you find here or on GitLab 
(https://invent.kde.org/libraries/futuresql/-/issues/1).

Thank you!


Greetings,
Jonah

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA81E075ABEC80A7E.asc
Type: application/pgp-keys
Size: 15513 bytes
Desc: OpenPGP public key
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20230323/5ab9efea/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20230323/5ab9efea/attachment.sig>


More information about the kde-core-devel mailing list