Hi,

I few years ago, I did a throwaway implementation for this for reading:

https://github.com/pilif/php-src/tree/pdo_pgsql-improvements

This supports columns of type jsonb, json and text[] and I was
considering also adding support for the various timestamps, date and
so on.

Generally, interest in such a feature was low, so I never completed
work on this, but maybe it's something you might want to play with.

Some more info here: https://blog.pilif.me/2014/03/28/pdo_pgsql-improvements/

Philip

On Wed, Jul 26, 2017 at 12:25 PM, Michał <aaat...@o2.pl> wrote:
> Most database systems have now native support for JSON format. Some of them,
> like PostgreSQL, also accepts arrays. I rememeber there was some fork of
> pgsql extension with native array support.
>
> Maybe it is time to extend PDO so it can accept at least one of these
> formats? What do You think?
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>



-- 
Sensational AG
Giesshübelstrasse 62c, Postfach 1966, 8021 Zürich
Tel. +41 43 544 09 60, Mobile  +41 79 341 01 99
i...@sensational.ch, http://www.sensational.ch

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to