@@ -96,24 +96,24 @@ export function handleValue(x, parameters, types, options) {
9696
9797const defaultHandlers = typeHandlers ( types )
9898
99- export function stringify ( q , string , value , parameters , types , options ) { // eslint-disable-line
99+ export function stringify ( q , string , value , parameters , types , o ) { // eslint-disable-line
100100 for ( let i = 1 ; i < q . strings . length ; i ++ ) {
101101 string += (
102- value && value [ 0 ] instanceof Query ? value . reduce ( ( acc , x ) => acc + ' ' + fragment ( x , parameters , types ) , '' ) :
103- value instanceof Query ? fragment ( value , parameters , types ) :
102+ value && value [ 0 ] instanceof Query ? value . reduce ( ( acc , x ) => acc + ' ' + fragment ( x , parameters , types , o ) , '' ) :
103+ value instanceof Query ? fragment ( value , parameters , types , o ) :
104104 value instanceof Identifier ? value . value :
105- value instanceof Builder ? value . build ( string , parameters , types , options ) :
106- handleValue ( value , parameters , types , options )
105+ value instanceof Builder ? value . build ( string , parameters , types , o ) :
106+ handleValue ( value , parameters , types , o )
107107 ) + q . strings [ i ]
108108 value = q . args [ i ]
109109 }
110110
111111 return string
112112}
113113
114- function fragment ( q , parameters , types ) {
114+ function fragment ( q , parameters , types , options ) {
115115 q . fragment = true
116- return stringify ( q , q . strings [ 0 ] , q . args [ 0 ] , parameters , types )
116+ return stringify ( q , q . strings [ 0 ] , q . args [ 0 ] , parameters , types , options )
117117}
118118
119119function valuesBuilder ( first , parameters , types , columns , options ) {
0 commit comments