• 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: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)


  • Subject: Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)
  • From: Rich <email@hidden>
  • Date: Thu, 15 Mar 2012 16:35:48 +1300

That sounds like what I'm missing ;o)
- I haven't specifically set it, just presumed it would be available properety as it was being returned in the JSON representation

Is it a big no-no to expose it and make it say a read-only property, and if so where would I do it if I'm not supposer to modify the _<MODEL_NAME> class?

Rich

On 15/03/2012, at 4:11 PM, Emmanuel Tote Dominguez Torres wrote:

Is your ID set as a class property?
primary keys usually are not.

Emmauel~

On Wed, Mar 14, 2012 at 8:33 PM, Rich <email@hidden> wrote:
Hi guys,

I can't seem to find a way to do a sort order based on the Entity objects Primary Key in an ERXRestFetchSpecification (the defaultSortOrdering specifier)

I seem to be able to sort by any of the Attributes/Properties but not the PK (which I've called 'id') - Am I missing something glaringly obvious (probably)

Cheers,
Rich
 _______________________________________________
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

  • Follow-Ups:
    • Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)
      • From: Rich <email@hidden>
References: 
 >ERXRestFetchSpecification defaultSortOrderings ordered by id (PK) (From: Rich <email@hidden>)

  • Prev by Date: Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)
  • Next by Date: Re: Couldn't locate action class
  • Previous by thread: Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)
  • Next by thread: Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)
  • Index(es):
    • Date
    • Thread