PdoQueryA variable of this class is normally constructed through a call to PdoDatabase::Query or PdoDatabase::Prepare, associating it on construction with the database which is to be queried.
Located in /inc/PdoQuery.php (line 395)
Constructor __construct (line 406)
Where $db is a PdoDatabase object. This constructs the PdoQuery. If there are further parameters they will be in turn, the sql, and any positional parameters to replace into that, and will be passed to $this->Query() before returning.
Exec (line 435)
If there are (some) positional parameters in the prepared query, now is the last chance to supply them...
before the query is executed. Returns true on success and false on error.
Fetch (line 449)
Will fetch the next row from the query into an object with elements named for the fields in the result.
FetchAll (line 466)
Will fetch all result rows from the query into an array of objects with elements named for the fields in the result.
FetchArray (line 458)
Will fetch the next row from the query into an array with numbered elements and with elements named for the fields in the result.
MaxDuration (line 483)
Used to set the maximum duration for this query before it will be logged as a slow query.
Query (line 421)
If the sql is supplied then PDO::prepare will be called with that SQL to prepare the query, and if there are positional parameters then they will be replaced into the sql_string (with appropriate escaping) before the call to PDO::prepare. Query preparation time is counted towards total query execution time.
Rows (line 474)
An accessor for the number of rows affected when the query was executed.
Documentation generated on Sat, 24 Oct 2009 12:40:42 +1300 by phpDocumentor 1.3.2