Class SQL_Statement
SQL implementations for all statement transformations shared by common SQL-based storage engines.
- Core\Object implements Core\Chainable
 - 
			
			Core\Set
			
			 implements 
				Core\Accessor
			
			
		 - 
			
			Core\Storage_Statement
			
			
			
		 - 
			
Core\Storage\SQL_Statement			
			
			
		 
Direct known subclasses
			Core\Storage\Driver\mysql_Statement, 
			Core\Storage\Driver\odbc_Statement, 
			Core\Storage\Driver\sqlite2_Statement, 
			Core\Storage\Driver\sqlite3_Statement
		
Package: Core\Storage
Since: 3.0
Requires: PHP 5.3
Version: 1.1
Located at Storage/SQL.inc.php
Methods summary
				 protected 
				boolean|
			 | 
			
			#
			 _tableReference( string $name, boolean|
			Sets or gets a table reference entry for the current stack index.  | 
		
				 protected 
				integer
				
				
			 | 
			|
				 protected 
				array
				
				
			 | 
			|
				 protected 
				
				
				
			 | 
			|
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Conditional( array $nodes, string $operator )
			Transforms a generic conditional. Depending on the number of nodes and operator used, a conjunction is returned.  | 
		
				 protected 
				string
				
				
			 | 
			|
				 protected 
				integer|string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Value( 
			Transforms wrapped value nodes. All values that need proper encoding use parameter binding, integers and floats are directly embedded into the query.  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Alias( 
			Transforms an alias statement.  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_BitwiseAND( 
			Transforms a bit-wise   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_BitwiseOR( 
			Transforms a bit-wise   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_BitwiseXOR( 
			Transforms a bit-wise   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Call( 
			Transforms a function call. The name of the called function is always written in uppercase letters.  | 
		
				 protected 
				string|null
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Conditional( 
			Transforms a conditional   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Count( 
			Transforms the special   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Conjunction( 
			Transforms a conjunction "  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Disjunction( 
			Transforms a disjunction "  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Eq( 
			Transforms an equality expression.  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Eraser( 
			Transforms a   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_GT( 
			Transforms a greater-than expression.  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_GTE( 
			Transforms a greater-than-or-equal expression.  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Grouping( 
			Transforms a   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Insert( 
			Transforms an   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Insert( string $destinationTableName, array $columns, array $values, 
			Actual transformation of an   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Key( 
			Transforms a key (either column identifier or numeric/Boolean value).  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Limit( 
			Transforms a   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_LT( 
			Transforms a less-than expression.  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_LTE( 
			Transforms a less-than-or-equal expression.  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Match( 
			Transforms a   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_NEq( 
			Transforms an inequality expression.  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Not( 
			Transforms a binary inversion expression.  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Now( 
			Transforms node to an expression that represents the current timestamp at the back-end (with respect to timezone settings of the engine or connection).  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Ordering( 
			Transforms an   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Reference( 
			Transforms a table name with optional   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Regexp( 
			Transforms a   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Reverse( 
			Transforms a reversed ordering clause (  | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Selector( 
			Transforms a   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_SelectorNode( 
			Transforms an expression of a   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Similarity( 
			Transforms a   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Update( 
			Transforms an   | 
		
				 protected 
				string
				
				
			 | 
			
			#
			 _transform_Core_Storage_Accessor_Wildcard( 
			Transforms a wildcard.  | 
		
				 protected 
				string
				
				
			 | 
			
Methods inherited from Core\Storage_Statement
				__construct(), 
				__toString(), 
				_bind(), 
				_transform(), 
				_transform_Boolean(), 
				_transform_Core_Storage_Accessor_Parameter(), 
				_transform_Float(), 
				_transform_Identifier(), 
				_transform_Integer(), 
				_transform_Storable(), 
				_transform_String(), 
				execute(), 
				mergeParameters()
			
Methods inherited from Core\Object
				__autocreateFactory(), 
				__call(), 
				__processParameters(), 
				attachMethod(), 
				chain(), 
				getValueForKey(), 
				getValueForKeyPath(), 
				getValueForUndefinedKey(), 
				hash(), 
				issetValueForKey(), 
				setValueForKey(), 
				setValueForKeyPath(), 
				setValueForUndefinedKey(), 
				uuid()
			
Constants summary
Constants inherited from Core\Object
				AnyParameterType, 
				AutochainParameterType, 
				AutocreateParameterType, 
				BooleanParameterType, 
				CharParameterType, 
				EnumParameterType, 
				IntegerParameterType, 
				RealParameterType, 
				StringParameterType, 
				UserParameterType
			
Properties summary
				protected  
				array
			 | 
			
$_tableReferences
				 Two-dimensional reference set that stores references on tables used as keys per query. References are collected during node transformations and qualify for automatic reference listings for e.g. FROM statements. Sub-queries require an own table references array, hence table references are organised as a stack and access to these should be based on the corresponding class-internal methods.  | 
			
				 
					#
					 
			array ()
				 | 
		
Properties inherited from Core\Storage_Statement
				$_v_bindingParameters, 
				$_v_bindings, 
				$_v_driver, 
				$_v_insertID, 
				$_v_query