mauricio/postgresql-async

Update array field using a prepared statement throws syntax exception

epifab opened this issue · 1 comments

Hello.

I've got an array field in one of my table and I'm unable update it.

My table:
CREATE TABLE x (y String[]);

My statement:
connection.sendPreparedStatement( "UPDATE x SET y = ?", Seq(List("foo", "bar")) )

This throws a SQL syntax error, although I'm not sure what query was actually sent through. It seems hard to find it out without using an external tool...

I'm unable to reproduce with latest library version