Subversion Repositories PHPX

Rev

Rev 77 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 77 Rev 78
Line 578... Line 578...
578
   *   If <code>true</code> (default), fetches all rows at once.
578
   *   If <code>true</code> (default), fetches all rows at once.
579
   *   You can set this to <code>false</code> in case of memory problems,
579
   *   You can set this to <code>false</code> in case of memory problems,
580
   *   in which case this function will return the prepared
580
   *   in which case this function will return the prepared
581
   *   {@link PDOStatement} instead of the result array.  You can then use
581
   *   {@link PDOStatement} instead of the result array.  You can then use
582
   *   {@link PDOStatement::fetch()} to get the returned rows iteratively.
582
   *   {@link PDOStatement::fetch()} to get the returned rows iteratively.
583
   *   <var>fetch_style</var> will be ignored then, so that you can safely
583
   *   <var>$fetch_style</var> will be ignored then, so that you can safely
584
   *   pass <code>null</code>, for example.
584
   *   pass <code>null</code> for it, for example.
585
   * @return array|PDOStatement
585
   * @return array|PDOStatement
586
   * @see Database::prepare()
586
   * @see Database::prepare()
587
   * @see PDOStatement::fetchAll()
587
   * @see PDOStatement::fetchAll()
588
   */
588
   */
589
  public function select($tables, $columns = null, $where = null,
589
  public function select($tables, $columns = null, $where = null,