{"action":"created","issue":{"url":"https://api.github.com/repos/tgriesser/knex/issues/1228","repository_url":"https://api.github.com/repos/tgriesser/knex","labels_url":"https://api.github.com/repos/tgriesser/knex/issues/1228/labels{/name}","comments_url":"https://api.github.com/repos/tgriesser/knex/issues/1228/comments","events_url":"https://api.github.com/repos/tgriesser/knex/issues/1228/events","html_url":"https://github.com/tgriesser/knex/issues/1228","id":136471255,"number":1228,"title":"Cannot seem to use named bindings for arrays","user":{"login":"keithrz","id":1205551,"avatar_url":"https://avatars.githubusercontent.com/u/1205551?v=3","gravatar_id":"","url":"https://api.github.com/users/keithrz","html_url":"https://github.com/keithrz","followers_url":"https://api.github.com/users/keithrz/followers","following_url":"https://api.github.com/users/keithrz/following{/other_user}","gists_url":"https://api.github.com/users/keithrz/gists{/gist_id}","starred_url":"https://api.github.com/users/keithrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithrz/subscriptions","organizations_url":"https://api.github.com/users/keithrz/orgs","repos_url":"https://api.github.com/users/keithrz/repos","events_url":"https://api.github.com/users/keithrz/events{/privacy}","received_events_url":"https://api.github.com/users/keithrz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-25T18:29:14Z","updated_at":"2016-02-26T17:00:24Z","closed_at":null,"body":"```\r\nvar knex = require('knex');\r\nvar postgresConn = 'postgresql://user:pw@host:port/db?tcpKeepAlive=true';\r\n\r\nvar redshift = knex({\r\n    client: 'pg',\r\n    connection: postgresConn\r\n});\r\n\r\n\r\nvar sql = redshift.raw('select * from schema.table where col_1 in (:col_1_values) and col_2 = :col_2_value',\r\n    {col_1_values: [[1, 2, 3]], col_2_value: 99}).toString();\r\n\r\nconsole.log(sql);\r\n```\r\n\r\nExpected output:\r\nselect * from schema.table where col_1 in (1,2,3) and col_2 = '99'\r\n\r\nActual output:\r\nselect * from schema.table where col_1 in (:col_1_values) and col_2 = '99'\r\n\r\nknex version: 0.10.0\r\npg version: 3.6.2\r\n"},"comment":{"url":"https://api.github.com/repos/tgriesser/knex/issues/comments/189372082","html_url":"https://github.com/tgriesser/knex/issues/1228#issuecomment-189372082","issue_url":"https://api.github.com/repos/tgriesser/knex/issues/1228","id":189372082,"user":{"login":"wubzz","id":10179061,"avatar_url":"https://avatars.githubusercontent.com/u/10179061?v=3","gravatar_id":"","url":"https://api.github.com/users/wubzz","html_url":"https://github.com/wubzz","followers_url":"https://api.github.com/users/wubzz/followers","following_url":"https://api.github.com/users/wubzz/following{/other_user}","gists_url":"https://api.github.com/users/wubzz/gists{/gist_id}","starred_url":"https://api.github.com/users/wubzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wubzz/subscriptions","organizations_url":"https://api.github.com/users/wubzz/orgs","repos_url":"https://api.github.com/users/wubzz/repos","events_url":"https://api.github.com/users/wubzz/events{/privacy}","received_events_url":"https://api.github.com/users/wubzz/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T17:00:24Z","updated_at":"2016-02-26T17:00:24Z","body":"@elhigu Based on https://github.com/tgriesser/knex/commit/ca3c1d0a2277f00d6e99ef6bfce7c692cd029af5 I'm guessing you'll know more about this than anyone. What's your take on this?"}}