ClosestStorm / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Feature request - ability to use arrays in mysql where clause #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
var fields = ['id', 'title', 'lead', 'body'];
var q = tables.article.select(fields).where('%f = %n', 'id', request.get.id);

What is the expected output? What do you see instead?
/usr/lib/v8cgi/query.js:276: TypeError: Object id,title,lead,body has no
method 'split'

What version of the product are you using? On what operating system?
r345, Linux

Please provide any additional information below.

Original issue reported on code.google.com by jiri.brunclik@gmail.com on 23 Feb 2009 at 12:34

GoogleCodeExporter commented 9 years ago

Original comment by ondrej.zara on 6 Apr 2009 at 6:11

GoogleCodeExporter commented 9 years ago
Fixed in revision 435.

Original comment by ondrej.zara on 20 Apr 2009 at 7:17