From: | Robby Russell <robby(at)planetargon(dot)com> |
---|---|
To: | Steve Bergman <steve(at)rueb(dot)com> |
Cc: | pgsql-php <pgsql-php(at)postgresql(dot)org> |
Subject: | Re: Status of "associative functions" in php-pgsql? |
Date: | 2004-08-06 02:59:23 |
Message-ID: | 1091761162.11448.50.camel@vacant |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
Take a look at PEAR::DB.
-Robby
On Thu, 2004-08-05 at 19:19, Steve Bergman wrote:
> I have not been able to find any documentation on the "associative
> functions" of php-pgsql (e.g. pg_insert) which supposedly build queries
> based upon an associative array passed to them. It's not a big deal, I
> guess, but this would save a few lines of code in various places. I have
> heard that they were implemented in php 4.2 or so, but were considered
> experimental, and yet there is no sign of them in the documentation for
> php5.
>
> Like I say, it's not a huge problem, but the "insert" syntax (insert
> into table set field='value') of MySQL is nicer, and makes for more
> readable code, when building a query in a loop.
>
> Thanks for any pointers,
>
> Steve
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
--
Robby Russell | Owner.Developer.Geek
PLANET ARGON | www.planetargon.com
Portland, OR | robby(at)planetargon(dot)com
503.351.4730 | blog.planetargon.com
From | Date | Subject | |
---|---|---|---|
Next Message | Marco Colombo | 2004-08-06 10:02:13 | Re: [0.2] getting transactions to work |
Previous Message | Steve Bergman | 2004-08-06 02:19:51 | Status of "associative functions" in php-pgsql? |