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

What about a relational table JOINS and its data? anything? #9

Open
rapgithub opened this issue Aug 27, 2018 · 3 comments
Open

What about a relational table JOINS and its data? anything? #9

rapgithub opened this issue Aug 27, 2018 · 3 comments

Comments

@rapgithub
Copy link

rapgithub commented Aug 27, 2018

I have many relational tables and I want to retrieve all relational tables that belongs to the one I am pulling the information I tried many things to try to show the relational tables using the API but do not find any hook for it...

for instance show all clientes and clientes can have many addresses and groups...
I want to show the client with the addresses and group he/she belongs...

One clear example will be:
I have a post table that has comments (made by users) and the posts can have tags.

how can I join these tables for output with this API? is there any solution for this?

Appreciate any info
thanks

@rapgithub rapgithub changed the title What about a relational table and its data? anything? What about a relational table JOINS and its data? anything? Aug 28, 2018
@DarkSide666
Copy link
Member

Well. You can do that with multiple API calls I guess.

@rapgithub
Copy link
Author

well API Crud has implemented this relationship between relational tables so I can make one call to bring all tables in relation... that will be nice to implement here too...

check here

https://github.com/mevdschee/php-crud-api

@DarkSide666
Copy link
Member

Sure it would be nice :)

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