Using placeholders and "@bind_values" with the "do"
         method can be useful because it avoids the need to
         correctly quote any variables in the "$statement".

and:

         There is no need to quote values being used with the
         Placeholders and Bind Values entry elsewhere in this
         document.

So just use params.sort in your argument to statement.execute.

Craig


Reply via email to