are you talking about a general idea for the api ? I'd use 'all' ...

On Monday, August 29, 2016 at 2:41:16 AM UTC+2, Diego Marinho wrote:
>
> I have this pattern:
>
>
> "/jobs/year-start/{jobs.year_start.year}/amount-range-id/{jobs.amount_range_id}/neighbourhood-id/{jobs.neighbourhood_id}"
>
> I have tree fields that im using to filter the 'jobs' table. How can i 
> make those filters optional? 
>
> Let's say i want to use only two of the tree possible filters. What can i 
> send instead of the id to say that i want all data concerning that field?  
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to