Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HasManyThroughJson #42

Closed
Intrflex opened this issue Nov 26, 2020 · 1 comment
Closed

HasManyThroughJson #42

Intrflex opened this issue Nov 26, 2020 · 1 comment

Comments

@Intrflex
Copy link

I have three tables Organisation, Contact, Emails

my issues is im trying to get all the emails through client which maps like this client[id] -> contacts[client_id][email] -> contacts[to] but to is a json array of objects for example [{"name": "", "email": ""}]

when I try 'to[]->email' as my identifier it fails and is unable find anything yet to[]->email works elsewhere on has any son etc

I hope this makes sense I'm just wondering if there's a way to make this work

@staudenmeir
Copy link
Owner

Can you share the structure of all three tables?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants