Binary AND Qualifier
Binary AND Qualifier
- Subject: Binary AND Qualifier
- From: "John Huss" <email@hidden>
- Date: Fri, 26 Sep 2008 12:27:49 -0500
How can I test an Integer attribute to see if it has a bit set, like (myAttribute & 1 != 0)?
I'd like to do this with a qualifier, only in memory right now, although having DB support would be cool (since FrontBase does allow this).
I tried messing around with an EOKeyValueQualifier with a custom selector but had no luck.
I could see this qualifier being useful as well as a Binary OR qualifier and a MOD qualifier.
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