Monday, 20 July 2020

Manage multiple querys

I'm creating a scholar project about library system and I'm stuck with routes for the books. I mean, if the user wants to search all the available books or maybe wants to only see all the X author books or maybe only the books written in english and so go on. I think that maybe I could use querys to manage this like books?author=X&languaje=Y&editorial=Z but I don't know how to pasa this querys to de controller that makes the query to the database and I don't know if this Is the correct way Which could be the good way to solve this?

Submitted July 21, 2020 at 02:01AM by _eiferer

No comments:

Post a Comment