ordered multi link #3271
-
How should one best create an ordered multi link, e.g. for a time series of objects (in my case, an |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, a link property is generally the way to go.
Unlikely. It is quite hard to enforce referential integrity in collection types containing objects, which is the reason why we don't allow them at the schema level. That said, object arrays are permitted in queries, so you can do |
Beta Was this translation helpful? Give feedback.
Yes, a link property is generally the way to go.
Unlikely. It is quite hard to enforce referential integrity in collection types containing objects, which is the reason why we don't allow them at the schema level. That said, object arrays are permitted in queries, so you can do
WITH obj_array := array_agg(Some.link ORDER BY @sort_order) ...
and work with the array in your query.