50 if ($comment->delete()) {
72 'subtype' =>
'comment',
77 'metadata_name_value_pairs' => [
78 'name' =>
'parent_guid',
90 return $qb->
compare(
"{$md}.value",
'NOT IN', $sub->getSQL());
subquery(string $table, string $alias=null)
Creates a new SelectQueryBuilder for join/where sub queries using the DB connection of the primary Qu...
addFailures(int $num=1)
Increment failure count.
Database abstraction query builder.
addSuccesses(int $num=1)
Set an item (or items) as successfully upgraded.
if($who_can_change_language=== 'nobody') elseif($who_can_change_language=== 'admin_only'&&!elgg_is_admin_logged_in()) $options
elgg_get_entities(array $options=[])
Fetches/counts entities or performs a calculation on their properties.
compare(string $x, string $comparison, $y=null, string $type=null, bool $case_sensitive=null)
Build value comparison clause.
elgg_count_entities(array $options=[])
Returns a count of entities.
Result of a single BatchUpgrade run.
joinMetadataTable(string $from_alias= '', string $from_column= 'guid', $name=null,?string $join_type= 'inner', string $joined_alias=null)
Join metadata table from alias and return joined table alias.
Class to extend for asynchronous upgrades, i.e.