Elgg
Version master
|
Query builder for updating data in the database. More...
Static Public Member Functions | |
static | table ($table, $alias=null) |
{} More... | |
Additional Inherited Members | |
![]() | |
subquery ($table, $alias=null) | |
Creates a new SelectQueryBuilder for join/where subqueries using the DB connection of the primary QueryBuilder. More... | |
addClause (Clause $clause, $alias=null) | |
Apply clause to this instance. More... | |
prefix ($table) | |
Prefixes the table name with installation DB prefix. More... | |
getTableName () | |
Returns the name of the primary table. More... | |
getTableAlias () | |
Returns the alias of the primary table. More... | |
param ($value, $type=null, $key=null) | |
Sets a new parameter assigning it a unique parameter key/name if none provided Returns the name of the new parameter. More... | |
execute (bool $track_query=true) | |
from ($from, $alias=null) | |
{} More... | |
insert ($insert=null) | |
{} More... | |
update ($update=null, $alias=null) | |
{} More... | |
delete ($delete=null, $alias=null) | |
{} More... | |
join ($fromAlias, $join, $alias, $condition=null) | |
{} More... | |
innerJoin ($fromAlias, $join, $alias, $condition=null) | |
{} More... | |
leftJoin ($fromAlias, $join, $alias, $condition=null) | |
{} More... | |
rightJoin ($fromAlias, $join, $alias, $condition=null) | |
{} More... | |
merge ($parts=null, $boolean= 'AND') | |
Merges multiple composite expressions with a boolean. More... | |
compare ($x, $comparison, $y=null, $type=null, $case_sensitive=null) | |
Build value comparison clause. More... | |
between ($x, $lower=null, $upper=null, $type=null) | |
Build a between clause. More... | |
getNextJoinAlias () | |
Get an index of the next available join alias. More... | |
joinEntitiesTable ($from_alias= '', $from_column= 'guid', $join_type= 'inner', $joined_alias=null) | |
Join entity table from alias and return joined table alias. More... | |
joinMetadataTable ($from_alias= '', $from_column= 'guid', $name=null, $join_type= 'inner', $joined_alias=null) | |
Join metadata table from alias and return joined table alias. More... | |
joinAnnotationTable ($from_alias= '', $from_column= 'guid', $name=null, $join_type= 'inner', $joined_alias=null) | |
Join annotations table from alias and return joined table alias. More... | |
joinRelationshipTable ($from_alias= '', $from_column= 'guid', $name=null, $inverse=false, $join_type= 'inner', $joined_alias=null) | |
Join relationship table from alias and return joined table alias. More... | |
![]() | |
const | CALCULATIONS |
const | TABLE_ANNOTATIONS = 'annotations' |
const | TABLE_ENTITIES = 'entities' |
const | TABLE_METADATA = 'metadata' |
const | TABLE_RELATIONSHIPS = 'entity_relationships' |
![]() | |
array | $joins = [] |
int | $join_index = 0 |
string | $table_name |
string | $table_alias |
Query builder for updating data in the database.
Definition at line 8 of file Update.php.
|
static |
{}
Definition at line 13 of file Update.php.