Permalink
Browse files

fix for arrays not interpolated properly into params [ closes #68 ]

  • Loading branch information...
devdazed committed Sep 27, 2012
1 parent 6975cd0 commit 682723a7822b99dd5128f02263a1b3c06f3a338b
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/connection.js
View
@@ -94,7 +94,7 @@ function escapeCQL(val) {
if (Array.isArray(val)) {
var sanitized = val.map( function( v ) { return escapeCQL( v ); } );
- return "'" + sanitized.join( "','" ) + "'";
+ return sanitized.join(',');
}
if (typeof val === 'object') {

0 comments on commit 682723a

Please sign in to comment.