QueryDataSet Class Reference

Inherits DataSet.

List of all members.

Public Member Functions


Member Function Documentation

QueryDataSet::__construct ( $p1, $selectSql = null )

 

Creates a new QueryDataSet based on a connection and a select string

This class can be instantiated with a couple signatures:

  • new QueryDataSet($conn, "SELECT * FROM mytable");
  • new QueryDataSet($rs);

Parameters
mixed $p1 Connecton or ResultSet (depending on signature)
string $selectStmt SELECT SQL (only if $p1 is Connection)

a QueryDataSet::getSelectSql ( )

 

get the Select String that was used to create this QueryDataSet

Returns a select string


This file is part of the Creole[php5] library.


Copyright © 2004 Hans Lellelid  
Creole[php5] CVS