mauricio / postgresql-async

Async, Netty based, database drivers for PostgreSQL and MySQL written in Scala
Apache License 2.0
1.43k stars 222 forks source link

Update array field using a prepared statement throws syntax exception #235

Closed epifab closed 6 years ago

epifab commented 6 years ago

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...

epifab commented 6 years ago

I'm unable to reproduce with latest library version