mardi 5 juillet 2016

Laravel 5 Dingo API and specific filtering parameters for INDEX endpoint

I'm using the laravel dingo api package to build my restFUL api : http://ift.tt/1j3SBtK

For my INDEX API endpoint, I need to filter the results with more complex expression.

How do i formate the requests parameters to do complex filtering like so => (my_field1 = 1 AND (my_field2 = 2 OR my_field3 = 3))

I've tried OData (http://www.odata.org/) but didnt manage to pull the library into laravel.

I'm looking for a similar library than OData or a way to do my specific filters.

Thanks



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire