ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:adodb_countrecs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
v5:reference:adodb_countrecs [2016/01/17 03:11] – ↷ Links adapted because of a move operation 66.249.75.209v5:reference:adodb_countrecs [2025/07/27 02:38] (current) mnewnham
Line 9: Line 9:
 </WRAP> </WRAP>
  
-If a driver has native support for returning the number of records returned in an SELECT statement, then [[v5:reference:connection:recordcount]] will automatically return the number of rows requested in the quert. In drivers that have no native support, then the result can be emulated by setting ''$ADODB_COUNTRECS'' to true **before** the statement is executed.+If a driver has native support for returning the number of records returned in an SELECT statement, then [[v5:reference:connection:recordcount]] will automatically return the number of rows requested in the query. In drivers that have no native support, then the result can be emulated by setting ''$ADODB_COUNTRECS'' to true **before** the statement is executed.
  
 Note that if the value is set to true for databases without native support, the memory/query time overhead may be substantial for large recordsets. If the value is set to false then the value returned is always -1 Note that if the value is set to true for databases without native support, the memory/query time overhead may be substantial for large recordsets. If the value is set to false then the value returned is always -1
v5/reference/adodb_countrecs.1452996703.txt.gz · Last modified: (external edit)