Re: How to parse data type array columns?

Поиск
Список
Период
Сортировка
От Janning Vygen
Тема Re: How to parse data type array columns?
Дата
Msg-id 200508162025.17280.vygen@gmx.de
обсуждение исходный текст
Ответ на Re: How to parse data type array columns?  (Greg Stark <gsstark@mit.edu>)
Ответы Re: How to parse data type array columns?
Список pgsql-php
Am Dienstag, 16. August 2005 17:04 schrieb Greg Stark:
> Janning Vygen <vygen@gmx.de> writes:
> > Hi,
> >
> > if you use array data type in your database design and query your tables
> > with PHP you get a string which represents the array. It can look
> > something like this:
> >
> > [1:2]{{"Hallo", "Te\"st},"},{"Hallo", "Test"}}
>
> Do you still get that if you use the binary format? I would expect it to be
> easier to parse the binary format than this format which is really intended
> for humans and dump files.

What kind of "binary format" do you mean? anyway: In PHP you get it as a
string and i wonder if anyone has written a small pasrer function for php to
handle this string an convert it into an php array structure.

kind regards,
janning

В списке pgsql-php по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: How to parse data type array columns?
Следующее
От: Greg Stark
Дата:
Сообщение: Re: How to parse data type array columns?