I created an extra column on my manyToMany decorator and know how to preload my data based on its value. my question is how can I actually take that value and insert it to it’s relevant preloaded data or insert them into a new array on parent model, in other words how can I bring back the extra pivot_column with
Tag: lucid
How to return a result with duplicate id using whereIn in AdonisJs
I have a list of IDs and I want to query the database. I press that it returns in order of index the data that appears in the list of Id. I intend to return a list compatible with the same ID’s duplicated and in order. Is there how? Thanks for listening Expected outcome Updated How to convert this to