You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i just succesfully installed structr. I am building a schema, but in the Cardinality fields of the relation, you can only enter 1 or *. This is the typical cardinality we have in relational databases. But now that we have a graph database available, I would like to enter a minimum:maximum:default cardinality.
Simple example: Car-[HAS]->Door i would like to set the cardinality for the Car-[HAS]->Door relation to 0:4:5 indicating that i can remove all doors of a Car instance (min cardinality is 0), and that i cannot create more then 5 Door instances for any given Car (max cardinality is 5). Also when creating a new Car instance (when Automatic Creation of Related Nodes is active) structr should automatically create the 4 Door instances (default cardinality is 4)
Is it possible to model this kind of behaviour in structr?
Kind regards.
The text was updated successfully, but these errors were encountered:
Today, Structr only provides 1 or *, but extending this to more complex patterns is an interesting idea. I've added the appropriate labels so it will be tracked on our roadmap.
Hello, i just succesfully installed structr. I am building a schema, but in the Cardinality fields of the relation, you can only enter 1 or *. This is the typical cardinality we have in relational databases. But now that we have a graph database available, I would like to enter a minimum:maximum:default cardinality.
Simple example: Car-[HAS]->Door i would like to set the cardinality for the Car-[HAS]->Door relation to 0:4:5 indicating that i can remove all doors of a Car instance (min cardinality is 0), and that i cannot create more then 5 Door instances for any given Car (max cardinality is 5). Also when creating a new Car instance (when Automatic Creation of Related Nodes is active) structr should automatically create the 4 Door instances (default cardinality is 4)
Is it possible to model this kind of behaviour in structr?
Kind regards.
The text was updated successfully, but these errors were encountered: