Re: Wonder, pgSQL and arrays
Re: Wonder, pgSQL and arrays
- Subject: Re: Wonder, pgSQL and arrays
- From: Giorgio Valoti <email@hidden>
- Date: Tue, 13 Sep 2005 08:53:50 +0200
On 12/set/05, at 15:03, Arturo Perez wrote:
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...
I haven't found another way.
--
Giorgio Valoti
--------------
_______________________________________________
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