Hello all, currently the :field placeholder in a restful pattern will retrieve said field only for the first record from the resulting set. I believe that this should be changed so that it retrieves the field for all records in the set.
To illustrate using the latest trunk, this pattern (note the new syntax that can now include a query): ('/dogs[pet]', db.pet.genus=='dog') will retrieve all dogs from the pet table, but adding a :field to the pattern: ('/dogs[pet]/:field', db.pet.genus=='dog') will only retrieve the specified field for the first dog in the previous set. This also begs the question: how to retrieve more than one field?. Should it be another parameter in the pattern? e.g. ('/dogs[pet]', db.pet.genus=='dog', [list-of-field-names]) Your input is welcome. Denes --