All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions
RedBeanModelSelectQueryAdapter Class Reference

Public Member Functions

 __construct ($distinct=false)
 
 isDistinct ()
 
 getClausesCount ()
 
 getClauses ()
 
 getIdTableAliasesAndModelClassNames ()
 
 getIdColumNameByTableAlias ($tableAliasName)
 
 getSelect ()
 
 addNonSpecificCountClause ()
 
 addCountClause ($tableName, $columnName= 'id', $aliasName=null)
 
 addClause ($tableName, $columnName, $aliasName=null)
 
 addClauseByQueryString ($queryString, $aliasName=null)
 
 addClauseWithColumnNameOnlyAndNoEnclosure ($columnName, $aliasName=null)
 
 addSummationClause ($tableName, $columnName, $aliasName=null, $queryStringExtraPart=null)
 
 addAverageClause ($tableName, $columnName, $aliasName=null, $queryStringExtraPart=null)
 
 addMinimumClause ($tableName, $columnName, $aliasName=null, $queryStringExtraPart=null)
 
 addMaximumClause ($tableName, $columnName, $aliasName=null, $queryStringExtraPart=null)
 
 addDayClause ($tableName, $columnName, $aliasName=null, $adjustForTimeZone=false)
 
 addDayDateClause ($tableName, $columnName, $aliasName=null, $adjustForTimeZone=false)
 
 addWeekClause ($tableName, $columnName, $aliasName=null, $adjustForTimeZone=false)
 
 addFirstDayOfWeekDateClause ($tableName, $columnName, $aliasName=null, $adjustForTimeZone=false)
 
 addMonthClause ($tableName, $columnName, $aliasName=null, $adjustForTimeZone=false)
 
 addFirstDayOfMonthDateClause ($tableName, $columnName, $aliasName=null, $adjustForTimeZone=false)
 
 addQuarterClause ($tableName, $columnName, $aliasName=null, $adjustForTimeZone=false)
 
 addYearClause ($tableName, $columnName, $aliasName=null, $adjustForTimeZone=false)
 
 resolveIdClause ($modelClassName, $tableAliasName)
 

Static Public Member Functions

static makeCountString ($tableName, $columnName, $distinctPart=null)
 
static makeSummationString ($tableName, $columnName, $queryStringExtraPart=null)
 
static makeAverageString ($tableName, $columnName, $queryStringExtraPart=null)
 
static makeMinimumString ($tableName, $columnName, $queryStringExtraPart=null)
 
static makeMaximumString ($tableName, $columnName, $queryStringExtraPart=null)
 
static makeDayModifierString ($tableName, $columnName, $adjustForTimeZone=false)
 
static makeDayDateModifierString ($tableName, $columnName, $adjustForTimeZone=false)
 
static makeWeekModifierString ($tableName, $columnName, $adjustForTimeZone=false)
 
static makeFirstDayOfWeekDateModifierString ($tableName, $columnName, $adjustForTimeZone=false)
 
static makeMonthModifierString ($tableName, $columnName, $adjustForTimeZone=false)
 
static makeFirstDayOfMonthDateModifierString ($tableName, $columnName, $adjustForTimeZone=false)
 
static makeQuarterModifierString ($tableName, $columnName, $adjustForTimeZone=false)
 
static makeYearModifierString ($tableName, $columnName, $adjustForTimeZone=false)
 
static resolveForAliasName ($clause, $aliasName=null)
 

Protected Member Functions

 increaseClausesCountByOne ()
 

Detailed Description

Adapts select information into query parts for a particular sql query. Automatically determines count, distinct, sums, columns and aliases.

Definition at line 41 of file RedBeanModelSelectQueryAdapter.php.


The documentation for this class was generated from the following file:
Generated on Sun Jan 26 2020 07:10:42