Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://oit.cmc.msu.ru/php/function.pg-numrows.html
Дата изменения: Sun Feb 3 22:53:13 2002 Дата индексирования: Mon Oct 1 21:29:40 2012 Кодировка: |
pg_numrows() will return the number of rows in a PostgreSQL result resource. result is a query result resource returned by pg_exec(). This function will return -1 on error.
Note: Use pg_cmdtuples() to get number of rows affected by INSERT, UPDATE and DELETE query.
See also pg_numfields() and pg_cmdtuples().