TheCubicWebBook #569161 named string formatting in rql queries [resolved]
Explain the optimization in case of named string formating when executing rql queries, in which case(s) the named substitution string formatting can't be used. | |
priority | important |
---|---|
type | enhancement |
done in | cw_course |
load | 0.200 |
load left | 0.000 |
closed by | <not specified> |
similar entities
Comments
-
2010/02/15 17:33
-
2010/04/02 12:00, written by anon
add commentI have to note I have no idea what you're talking about
execute('Any X WHERE X toto %(x)s', {'x': 22}) instead of execute('Any X WHERE X toto %s' % 22)
except for IN operator where we can't use named substitution