Is it possible to send an unprepared statement to a Postgres Connection (using the crystal-db
and crystal-pg
shards)?
I've tried running the following statements using the .query
methods, but they failed because they use a prepared statement
, which prevents multiple statements from running. Maybe a unprepared statement
would work?:
SET LOCAL my.val = 'abc';
SELECT current_setting('my.val') as my_val, 'aa' as now_;