/** * Create a new Query object. * * Example:<br> * <code> * // UPDATE users * $query = DB::update('users'); * </code> * * @param string $table Table to update [Optional] * @return \Gleez\Database\Query */ public static function update($table = NULL) { $query = new Query(Database::UPDATE, NULL); return $query->update($table); }
/** * Create a new Query object. * * Example:<br> * <code> * // UPDATE users * $query = DB::update('users'); * </code> * * @param string $table table to update * @return \Gleez\Database\Query */ public static function update($table = NULL) { $query = new Query('update', NULL); return $query->update($table); }