• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Fetching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fetching


  • Subject: Re: Fetching
  • From: "Daniele Corti" <email@hidden>
  • Date: Thu, 19 Apr 2007 16:20:53 +0200



2007/4/19, Frank Stock <email@hidden>:
Hi,

Why is WO fetching all the data and the filtering:


NSMutableArray qbind;
qbind= new NSMutableArray();
qbind.addObject(property);
aQual = EOQualifier.qualifierWithQualifierFormat("(property=%@)" ,qbind);
fs = new EOFetchSpecification( "Property",aQual, null);
NSArray arProperty = ec.objectsWithFetchSpecification(fs);

This will do a select without a where-clause (141 rows) and then filter the array so I only see 1 row in arProperty???? 
Even if I use EOUtilities.objectMatchingKeyAndValue(ec,"Property","property",property);

Is there something I can do about that???

I know it could seem stupid, but...are you sure your object property != null?

Thanks,
Frank Stock

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (



--
Daniele Corti
AIM: S0CR4TE5
Messenger:
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

References: 
 >Fetching (From: Frank Stock <email@hidden>)

  • Prev by Date: Re: AddObjectToBothSidesOfRelationshipWithkey
  • Next by Date: Re: AddObjectToBothSidesOfRelationshipWithkey
  • Previous by thread: Re: Fetching
  • Next by thread: Re: Fetching
  • Index(es):
    • Date
    • Thread