[Cubicweb] Proposal for an enrichment en cubicweb/schema.py
afayolle.ml at free.fr
Tue Sep 18 16:30:43 CEST 2012
On 18/09/2012 15:26, Stéphane Bugat wrote:
> Following a discussion we had syt, auc and I on the public tchat, I put here the following modification for cubicweb/schema.py. The idea is to have a RQLConstraint that allows to specify a minimum and/or maximum value for a relation.
> For that, we define a new constraint, RQLArbitraryConstraint, as::
> class RQLArbitraryConstraint(RQLUniqueConstraint):
The name is not well chosen. I would expect something with that name to
allow me to specify an arbitrary constraint in RQL.
More information about the Cubicweb