[DB-SIG] API 3.0 limiting paramstyle to ['named', 'qmark'] is okay. ('format' is not desirable)
dieter at handshake.de
Tue May 21 07:43:28 CEST 2013
Carl Karsten wrote at 2013-5-20 10:20 -0500:
>Does anyone on in this discussion actually want named parameters for
>their own use, or does it seem like something someone might want, so
>lets try to make that happen just in case?
I you have commands with a large number of parameters,
named parameters are more readable and less error prone.
Otherwise, it is simple to get the parameter order wrong.
>I can see the benefit (easier to read code) but given the amount of
>problem it would seem to cause, it doesn't seem worth it.
Well sometimes, SQL commands need a large number of parameters...
More information about the DB-SIG