erleans / pgo

Erlang Postgres client and connection pool
Apache License 2.0
80 stars 16 forks source link

Execute multiple statements in one string #68

Open lpil opened 1 year ago

lpil commented 1 year ago

Hello!

Is it possible to execute multiple statements in one string?

My use case is for schema migrations. I wish to have multiple DDL statements in one file, read the file, and then execute the statements from that file.

Currently I seem to have to split the statements into one per string or per file, which is rather awkward UX.

Thanks! Louis