Base class used by the insert, update, select classes.
Located in /as_query/As_Query.class.php (line 9)
Class | Description |
---|---|
As_InsertQuery | Insert specific query |
As_SelectQuery | A simple SQL query object for SELECT statements. |
Pass in a database object that provides a quote() method.
Will be used to quote WHERE conditions.
Adds $stringOrArray to $dest using $delin as a separator.
builds a WHERE clause from the supplied array
returns the proper equality operator from the value being tested
Re-map the given array to allow for multiple formats.
Format 1: Pre-quoted values with pre-filled equators:
array( 'some_field = "some_value"', 'some_other_field = "some_other_value"' )
Format 2: Non-quoted values with no equators:
array( 'some_field' => 'some_value', 'some_other_field' => 'some_other_value' )
Format 3: Mixed of the above two.
array( 'some_field = "some_value"', 'some_other_field' => 'some_other_value' )
Documentation generated on Sun, 19 Oct 2008 11:56:29 -0500 by phpDocumentor 1.4.0