Aha, I was not followed it yet.

Quick question, would it be able to filter one-to-many or many-to-many 
relationship?

On Wednesday, July 23, 2014 11:20:41 AM UTC+2, Massimo Di Pierro wrote:
>
> Actually I wanted to deprecate it in favor of the new hypermedia API.
>
> On Tuesday, 22 July 2014 07:43:08 UTC-5, chuan137 wrote:
>>
>> Maybe you want to expand the functionality for parse_as_rest(),  since 
>> from the menu, there reads "experimental feature". I would be interesting 
>> to get involved in the discussions.
>>
>>
>>
>> On Tuesday, July 22, 2014 8:40:28 AM UTC+2, Massimo Di Pierro wrote:
>>>
>>> currently no.
>>>
>>> On Monday, 21 July 2014 16:02:57 UTC-5, chuan137 wrote:
>>>>
>>>> Example of parse_as_rest function, there define tables
>>>>
>>>> db.define_table('person',Field('name'),Field('info'))
>>>> db.define_table('pet',Field('ownedby',db.person),Field('name'),Field(
>>>> 'info'))
>>>>
>>>> which are served with the pattern
>>>>
>>>>  "/{person.name}/pets[pet.ownedby]/{pet.name}".
>>>>
>>>>
>>>> That means a valid URL is for instance
>>>>
>>>>> /Tom/pets/BlackCat 
>>>>
>>>>
>>>> Is it possible to simplify the pattern, so that
>>>>
>>>>> /Tom/BlackCat
>>>>
>>>> is also valid?
>>>>
>>>> I am aware that url routing does the trick, but I just wonder if there 
>>>> is a more direct way to set up the pattern?
>>>>
>>>> Thanks
>>>>
>>>>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to