Re: Database Classes and prepared statements

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: Database Classes and prepared statements
Дата
Msg-id AC007EC3-D6F7-4CB9-B960-A3C7ECA820C8@pgedit.com
обсуждение исходный текст
Ответ на Database Classes and prepared statements  ("G. J. Walsh" <gjwalsh@dscdirectionalservices.com>)
Ответы Re: Database Classes and prepared statements  ("G. J. Walsh" <gjwalsh@dscdirectionalservices.com>)
Список pgsql-novice
On Mar 18, 2008, at 6:25 PM, G. J. Walsh wrote:

> This will allow me to move on, but I was wondering about the use of
> prepared statements. Can this functionality be included in the class -
> that is I need a bit of a boost to incorporate the requisite
> pg_prepare
> and pg_execute functions.
>
> Assuming this is possible, could someone kindly show me some sample
> code
> to make it happen?


There is an example here on using a PHP class to call PostgreSQL
functions using prepared statements:

http://pgedit.com/resource/php/pgfuncall




John DeSoi, Ph.D.





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

Предыдущее
От: "G. J. Walsh"
Дата:
Сообщение: Database Classes and prepared statements
Следующее
От: James Long
Дата:
Сообщение: COPY doesn't like my dates on STDIN