Class QQNode
The abstract QQNode base class. This represents an "object" in a SQL join tree. There are a number of different subclasses of the QQNode, depending on the kind of object represented. The top of the join tree is generally a table node, and the bottom is generally a column node, but that depends on the context in which the node is being used.
The properties begin with underscores to prevent name conflicts with codegenerated subclasses.
- QBaseClass
- QQNode
Indirect known subclasses
QQFunctionNode, QQMathNode, QQNoParentNode, QQReverseReferenceNode, QQSubQueryCountNode, QQSubQueryNode, QQSubQuerySqlNode, QQVirtualNode
abstract public
|
#
Join(
|
public
string
|
|
public
|
|
public
string
|
|
public
string[]
|
|
public
string[]
|
|
public
|
#
_MergeExpansionNode(
Merges a node tree into this node, building the child nodes. The node being received is assumed to be specially built node such that only one child node exists, if any, and the last node in the chain is designated as array expansion. The goal of all of this is to set up a node chain where intermediate nodes can be designated as being array expansion nodes, as well as the leaf nodes. |
public
|
#
PutSelectFields(
Puts the "Select" clause fields for this node into builder. |
public
|
|
public
string
|
|
public static
string
|
|
public
mixed
|
|
public
mixed
|
|
public
string
|
|
public
|
|
public
|
OverrideAttributes(),
__call()
|
protected
null| |
$objParentNode
|
|
protected
string
|
$strType
Type node. SQL type or table type |
|
protected
string
|
$strName
SQL Name of related object in the database |
|
protected
string
|
$strAlias
Alias, if one was assigned using QQ::Alias(). Otherwise, same as name. |
|
protected
string
|
$strFullAlias
resolved alias that includes parent join tables. |
|
protected
string
|
$strPropertyName
PHP property name of the related PHP object |
|
protected
string
|
$strRootTableName
copy of the root table name at the top of the node tree. |
|
protected
string
|
$strTableName
name of SQL table associated with this node. Generally set by subclasses. |
|
protected
string
|
$strPrimaryKey
SQL primary key, for nodes that have primary keys |
|
protected
string
|
$strClassName
PHP class name |
|
protected
boolean
|
$blnExpandAsArray
True if this is an expand as array node point |
|
protected
|
$objChildNodeArray
the array of child nodes if this is an expand as array point |
|
protected
boolean
|
$blnIsType
True if this is a Type node |
public
boolean
|
$ExpandAsArray
True if this node should be array expanded. |
public read-only
|
$_ParentNode
// Parent object in tree. |
public read-only
string
|
$_Name
// Default SQL name in query, or default alias |
public read-only
string
|
$_Alias
// Actual alias. Usually the name, unless changed by QQ::Alias() call |
public read-only
string
|
$_PropertyName
// The name as used in PHP |
public read-only
string
|
$_Type
// The type of object. A SQL type if referring to a column. |
public read-only
string
|
$_RootTableName
// The name of the table at the top of the tree. Rednundant, since it could be found be following the chain. |
public read-only
string
|
$_TableName
// The name of the table associated with this node, if its not a column node. |
public read-only
string
|
$_PrimaryKey
|
public read-only
string
|
$_ClassName
|
public read-only
|
$_PrimaryKeyNode
|
public read-only
boolean
|
$IsType
Is a type table node. For association type arrays. |