[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Moving FutureSQL to KDE review
From:       Daniel Nicoletti <dantti12 () gmail ! com>
Date:       2023-03-23 18:20:31
Message-ID: CACo8zOcNEm7evsfSO5vprby0SUztb6bLWQt57Gs=_ASqeFiiJQ () mail ! gmail ! com
[Download RAW message or body]

It would be nice to have it added to ASql as a driver, though it uses QCoro
and
I'm hoping to have something at std in order to have that, current PG driver
doesn't need threads as it's event based...

Em qui., 23 de mar. de 2023 às 15:06, Jonah Brüchert <jbb@kaidan.im>
escreveu:

> 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
>
>

-- 
Daniel Nicoletti

KDE Developer - http://dantti.wordpress.com

[Attachment #3 (text/html)]

<div dir="ltr">It would be nice to have it added to ASql as a driver, though it uses QCoro \
and<br>I&#39;m hoping to have something at std in order to have that, current PG \
driver<br>doesn&#39;t need threads as it&#39;s event based...</div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qui., 23 de mar. de 2023 Ã s 15:06, \
Jonah Brüchert &lt;<a href="mailto:jbb@kaidan.im">jbb@kaidan.im</a>&gt; \
escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br> <br>
I would like to move my new project FutureSQL to KDE review.<br>
<br>
It aims to unify and simplify accessing SQL databases.<br>
In many KDE projects, there are custom abstractions that all end up <br>
doing very similar things:<br>
    - Running SQL(ite) queries on another thread<br>
    - extracting the query results from the QSqlQuery<br>
    - migrating database schemas<br>
    - printing error messages in case queries fail<br>
<br>
FutureSQL aims to unify all of that. Its methods return QFuture objects <br>
that complete asynchronously, hence the name.<br>
It also has a template based system for automatically deserializing <br>
query results into structs, and includes a migration system that is able <br>
to automatically run SQL scripts if the database needs to be migrated.<br>
<br>
I would like to maintain it as an independent library for now, to be <br>
able to use C++20 features and possibly release new major versions in <br>
case the API turns out to not be flexible enough.<br>
<br>
You can find the repository here: <br>
<a href="https://invent.kde.org/libraries/futuresql" rel="noreferrer" \
target="_blank">https://invent.kde.org/libraries/futuresql</a>.<br> Please let me know the \
issues you find here or on GitLab <br> (<a \
href="https://invent.kde.org/libraries/futuresql/-/issues/1" rel="noreferrer" \
target="_blank">https://invent.kde.org/libraries/futuresql/-/issues/1</a>).<br> <br>
Thank you!<br>
<br>
<br>
Greetings,<br>
Jonah<br>
<br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- \
</span><br><div dir="ltr" class="gmail_signature">Daniel Nicoletti<br><br>KDE Developer - <a \
href="http://dantti.wordpress.com" target="_blank">http://dantti.wordpress.com</a></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic