Re: PDO native JSON / array support

From: Date: Thu, 27 Jul 2017 12:02:34 +0000
Subject: Re: PDO native JSON / array support
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-100059@lists.php.net to get a copy of this message
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ł <aaatoja@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 info@sensational.ch, http://www.sensational.ch

« previous php.internals (#100059) next »