Re: Connecting to a REST API

Christoph Zwerschke <[email protected]> Sun, 15 Mar 2020 17:11:48 +0100
Newsgroups gmane.comp.python.db
Message-ID <[email protected]>
Am 15.03.2020 um 16:24 schrieb Mike Bayer:
 > There are a few products that do this, there is one that I'm familiar
 > with which is built off of SQLAlchemy called slashdb
 > https://www.slashdb.com/ .  it is commercial, but appears to offer a
 > free development version.

If you use PostgreSQL, http://postgrest.org is a free option.
However, you can't execute arbitrary SQL so easily, see
http://postgrest.org/en/v6.0/api.html#custom-queries

In SlashDB you also need to define the SQL queries first, so maybe 
that's also not flexible enough.
https://www.slashdb.com/how-it-works/#sql-pass-thru

Actually it looks like you want GraphQL, not REST.
Again, if you use PostgreSQL, have a look at
https://www.graphile.org/postgraphile/

-- Christoph



_______________________________________________
DB-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/db-sig