pg_num_rows

(PHP 4 >= 4.2.0, PHP 5, PHP 7)

pg_num_rows�����е���Ŀ

˵��

pg_num_rows ( resource $result ) : int

pg_num_rows() ���� PostgreSQL result �е��е���Ŀ��result �������� pg_query() �������صIJ�ѯ�����Դ�š���������򷵻� -1��

Note:

�� pg_affected_rows() ������ñ� INSERT��UPDATE �� DELETE ����Ӱ�쵽���е���Ŀ��

Note:

��������ǰ������Ϊ pg_numrows()��

�μ� pg_num_fields() �� pg_affected_rows()��