Re: Using qualifier to filter related objects
Re: Using qualifier to filter related objects
- Subject: Re: Using qualifier to filter related objects
- From: Matthew Ness <email@hidden>
- Date: Sat, 20 Aug 2016 07:21:46 +1000
Hi again Luiz,
You mentioned you know you can do this manually, that's the only way I know of apart from overriding the parser to look for patterns in the key string.
I generally create custom ERXKey -> methods for this.
You could also (as you also mentioned) just use the qualifier in your request URIs to filter out Address objects.
On Wed, Aug 17, 2016, at 03:28 AM, Luiz Alfredo Carrara Bertusso wrote:
Hi.
Can I filter to-many relationships using a qualifier in REST controller actions?
I have an object named Party that has a list of Addresses, this Address has a field that can either be null or it can have be filled, when I try to list the addresses related to a party I'd like getting only the addresses that have a certain field filled.
Can I use qualifier to restrict my result? I know i can handle this manually, but is there an existing way of getting the filtered list?
Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden