rql #88845 troubles with modulo operator (%) [rejected]
Having both % as modulo operator and substitutions with %(foo)s seems to cause trouble. Using %% currently means rql.parse fails, and using a single % breaks cubicweb's rql2sql. This could probably be fixed in cw, but it may be better to change rql's syntax to use %% as the modulo operator instead? | |
priority | normal |
---|---|
type | bug |
done in | <not specified> |
load | 0.000 |
load left | 0.000 |
closed by | <not specified> |
Comments
-
2012/02/15 15:49, written by jcristau
-
2012/02/15 15:50, written by acampeas
add comment(or deprecate the operator and make it a function instead)
mod(x, y)