On Wed, Jul 6, 2011 at 12:59 AM, Stewart Smith <[email protected]> wrote:
> On Tue, 5 Jul 2011 20:45:20 +0200, Olaf van der Spek <[email protected]> 
> wrote:
>> A wrapper I wrote before uses syntax like this:
>> Csql_query q(con, "select * from users where uid = ?");
>> q.p(uid);
>> q.execute();
>
> I wonder if we should in addition support named placeholders, or indeed
> *only* support named placeholders. I wonder how many bad queries have
> been constructed accidently due to editing content of query but not the
> substituting of placeholders.

I think a lot of users are fine without named placeholders, so we
shouldn't require their usage.
-- 
Olaf

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to