[RSS Feed/News] Can you build a relation with an array column?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Let's say I have an entity which has a values column with arrays (represented by a string in the DB):

Code:

Code:
values
[12345, 6789, 25421]

Now, is it possible to check whether a value from another entity - for example, 12345 - is inside the array and build a relation?
So for example, I create a new entity and it automatically pulls up another entity whose id for example is included in the array of the first entity - how could you express that relation?

I always end up with

Code:

'conditions'...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom