Обсуждение: New wrapper library: QUINCE

Поиск
Список
Период
Сортировка

New wrapper library: QUINCE

От
Michael Shepanski
Дата:
Hi PostgreSQLers,

I've released an open-source library called quince (QUeries In C++
Expressions) that helps you access PostgreSQL from C++.  I know, I know:
you've got plenty of those already, but this one is different ...

It's an EDSL (Embedded Domain-Specific Language), which lets you build
sophisticated SQL queries in C++ syntax with C++ data types, and it's
also an ORM, which figures out how to represent your C++
structs/classes/tuples as multiple columns. It's a plain old library, so
no special compiler and no code generation step. And fwiw it works with
sqlite too (and maybe other DBMSes in the future -- it's a matter of
adding backend libraries).

It's all explained at http://quince-lib.com .

Cheers,
--- Michael Shepanski


Re: New wrapper library: QUINCE

От
Jov
Дата:
A cool project!



2014-08-19 6:43 GMT+08:00 Michael Shepanski <mps@optusnet.com.au>:
Hi PostgreSQLers,

I've released an open-source library called quince (QUeries In C++ Expressions) that helps you access PostgreSQL from C++.  I know, I know: you've got plenty of those already, but this one is different ...

It's an EDSL (Embedded Domain-Specific Language), which lets you build sophisticated SQL queries in C++ syntax with C++ data types, and it's also an ORM, which figures out how to represent your C++ structs/classes/tuples as multiple columns. It's a plain old library, so no special compiler and no code generation step. And fwiw it works with sqlite too (and maybe other DBMSes in the future -- it's a matter of adding backend libraries).

It's all explained at http://quince-lib.com .

Cheers,
--- Michael Shepanski


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Re: New wrapper library: QUINCE

От
Larry White
Дата:
I'm not a C++ developer, but this looks like a really well-designed API. Nice work.


On Mon, Aug 18, 2014 at 9:21 PM, Jov <amutu@amutu.com> wrote:
A cool project!



2014-08-19 6:43 GMT+08:00 Michael Shepanski <mps@optusnet.com.au>:

Hi PostgreSQLers,

I've released an open-source library called quince (QUeries In C++ Expressions) that helps you access PostgreSQL from C++.  I know, I know: you've got plenty of those already, but this one is different ...

It's an EDSL (Embedded Domain-Specific Language), which lets you build sophisticated SQL queries in C++ syntax with C++ data types, and it's also an ORM, which figures out how to represent your C++ structs/classes/tuples as multiple columns. It's a plain old library, so no special compiler and no code generation step. And fwiw it works with sqlite too (and maybe other DBMSes in the future -- it's a matter of adding backend libraries).

It's all explained at http://quince-lib.com .

Cheers,
--- Michael Shepanski


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


Re: New wrapper library: QUINCE

От
John R Pierce
Дата:
On 8/19/2014 5:31 AM, Larry White wrote:
> I'm not a C++ developer, but this looks like a really well-designed
> API. Nice work.


really well designed method of generating really awful nested
queries?    whatever.



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



Re: New wrapper library: QUINCE

От
Michael Shepanski
Дата:
On 20/08/2014 3:51 AM, John R Pierce wrote:
>
> really well designed method of generating really awful nested
> queries?    whatever.

Sure, if that's what you're into.  As the doco says:

     How far you go in the direction of monster queries is up to you,
     the application designer. Quince has no opinion, but whatever you
     decide, quince allows you to express your choice in manageable C++.

(quince-lib.com/queries_in_c_expressions/rise_of_the_monster_query.html)

Cheers,
--- Michael