cubicweb #1124241 Access rset columns / entities by name [open]
Sample usage for rset=rql('Any G,N,U,L WHERE U login L, U in_group G, G name N') :
| |
priority | normal |
---|---|
type | enhancement |
done in | <not specified> |
load | 0.500 |
load left | 0.500 |
closed by | <not specified> |
Comments
-
2010/07/02 07:38, written by sthenault
-
2010/07/02 10:23, written by acampeas
add commentpros: easy to do (provides COUNT(X) is accessed as row['COUNT(X)'] cons: needs to wrap each rset line, which may impact performance
the user (programmer) could rely on an rset.colmap dict to write the second line: