Elgg  Version 3.0
Update.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Database;
4 
8 class Update extends QueryBuilder {
9 
13  public static function table($table, $alias = null) {
14  $connection = _elgg_services()->db->getConnection('write');
15  $qb = new static($connection);
16  $qb->update($table, $alias);
17 
18  return $qb;
19  }
20 }
static table($table, $alias=null)
{}
Definition: Update.php:13
Database abstraction query builder.
Query builder for updating data in the database.
Definition: Update.php:8
_elgg_services()
Get the global service provider.
Definition: elgglib.php:1292
$table
Definition: cron.php:57