In another sql table I have a field where the scores for each word are recorded as JSON. After decoding this JSON I have a php array containing word ids and their scores.
In this example we can see word ‘0’ has a score of 624.
You could certainly do it with a join, but if they are xPDO objects with aliases for their related objects, you should be able to get the words sorted by score with getCollectionGraph().
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.