atviriduomenys / spinta

Spinta is a framework to describe, extract and publish data (a DEP Framework).
MIT License
10 stars 4 forks source link

Add schema to sql url #643

Open sirex opened 3 weeks ago

sirex commented 3 weeks ago

Currently resource[type=sql].source uses URL format, inspired by sqlalchemy:

dialect[+driver]://user:password@host/dbname[?key=value..]

But this does not support specifying schema. Currently schema must be specified using a connect() function in prepare column.

This could be fixed, by adding schema tu URL:

dialect[+driver]://user:password@host/dbname[/schema][?key=value..]