Re: FetchSpecs over derived attributes
Re: FetchSpecs over derived attributes
- Subject: Re: FetchSpecs over derived attributes
- From: "John Huss" <email@hidden>
- Date: Mon, 16 Apr 2007 15:57:30 -0500
It resolves the attribute names to the columns names as you would
expect, so you get
Select ...
Where (inm_productTax1 + inm_productTax2 + inm_productTax3) > 0
John
On 4/16/07, Robert Walker <email@hidden> wrote:
Fetch spec qualifier = "totalTaxes > 0"
Interesting. What does the generated SQL look like?
On Apr 16, 2007, at 3:45 PM, John Huss wrote:
Here's an example:
Attribute name = "totalTaxes"
Attribute derived definition = "productTax1 + productTax2 + productTax3"
(productTax* are attribute names in the same entity, not the column names)
Fetch spec qualifier = "totalTaxes > 0"
This works for any kind of fetch spec.
John
_______________________________________________
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
--
Robert Walker
email@hidden
_______________________________________________
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
_______________________________________________
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