• 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: Wonder, pgSQL and arrays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wonder, pgSQL and arrays


  • Subject: Re: Wonder, pgSQL and arrays
  • From: Arturo Perez <email@hidden>
  • Date: Mon, 12 Sep 2005 09:03:47 -0400

Giorgio Valoti wrote:

On 12/set/05, at 02:45, Arturo Pérez wrote:

Hi folx,

I see the Wonder plugin for Postgresql does something with arrays. What exactly is the support given for pgSQL array types?


It allows you to assign as an external type something like: 'int2[]', i.e. an array of small integers.
However, you need a custom data type if you want to create fetch specs that can retrieve all EOs whose,say, the second element of the array attribute is 2 and so on.


Hope this helps

--
Giorgio Valoti
--------------

Hi Giorgio,

Any suggestions on how to write such a custom data type? AFAIK, custom data types can only receive a String, an NSData or a byte array. I would not like to have to parse a String to get the data out again...


Thanks, -arturo _______________________________________________ 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: Wonder, pgSQL and arrays
      • From: Giorgio Valoti <email@hidden>
References: 
 >Wonder, pgSQL and arrays (From: Arturo Pérez <email@hidden>)
 >Re: Wonder, pgSQL and arrays (From: Giorgio Valoti <email@hidden>)

  • Prev by Date: AW: BUILDING A FORM WITH IMAGE VERIFICATION
  • Next by Date: Re: AW: BUILDING A FORM WITH IMAGE VERIFICATION
  • Previous by thread: Re: Wonder, pgSQL and arrays
  • Next by thread: Re: Wonder, pgSQL and arrays
  • Index(es):
    • Date
    • Thread