Open source PostgreSQL type parsers in PHP?

Поиск
Список
Период
Сортировка
Искать

Open source PostgreSQL type parsers in PHP?

От:
"Dmitry Koterov" <dmitry@koterov.ru>
Дата:
Hello.

Is there any open source and well-tested PHP libraries to parse and build the following PostgreSQL data types?

- arrays (including N-dimensional): {a,b,c}
- hstore: "a=>b, c=>d"
- ROW: ("a","b","(""c"",""d"")")

E.g. I have some PHP variable and want to build corresponding PostgreSQL value.
Or, I have fetched a PostgreSQL value as a string and want to parse it into PHP variable.
FAQ