Re: Wonder, pgSQL and arrays
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