| От | Steve Bergman |
|---|---|
| Тема | Status of "associative functions" in php-pgsql? |
| Дата | |
| Msg-id | 1091758791.16009.69.camel@localhost.localdomain обсуждение исходный текст |
| Ответы |
Re: Status of "associative functions" in php-pgsql?
|
| Список | pgsql-php |
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
В списке pgsql-php по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера