Hey Jeremy,

I think I'm missing something here:

https://sequel.jeremyevans.net/rdoc-plugins/classes/Sequel/Postgres/ArrayOp.html

I did:
array_op =  Sequel.pg_array_op :ARRAY

```ruby

[24] pry(main)> User.where(1=>array_op[2])

=> #<Sequel::Postgres::Dataset: "SELECT \"users\".* FROM \"users\" WHERE (1 
= (\"array\")[2])">
```

Seems like "array" is always getting escaped as if it were a column. 

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/edee727c-f793-498e-af03-b80d4606cd5cn%40googlegroups.com.

Reply via email to