|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] SQL support |
Date: | Sat, 12 Apr 2014 16:19:13 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 |
Hi Elias,
not sure if I understood the problem correctly, If the concern is that the first ravel element of the right arg is a query string and the rest a some-how shaped argument (and the total being ugly) then you could try the following instead: put the left arg (db) into the axis, put the sql command as left arg, and make the rest (data) the right arg. For example instead of: db SQL[4] 'insert
into bar (a,b) values (?,?)' result
'insert into bar (a,b) values (?,?)' SQL[4, db] result That separates the SQL data better from the SQL commands. /// Jürgen On 04/11/2014 12:11 PM, Elias Mårtenson wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |