incubator-zeta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique 'NetAndroid' Schramm <>
Subject [zeta-dev] sqlabstraction update -> multiple tables @ once
Date Sat, 09 Jul 2011 15:57:58 GMT

i put my head into the core of the sqlabstraction to find out how an
update performs for multiple tables. for an example:

$q = $pdb->createUpdateQuery();
	->set('`domains.change`', '0')
	->set('`emailaddresses.change`', '0');
$stmt = $q->prepare();

@ the sqlabstraction i found the following code:

public function update( $table )
	$table = $this->getIdentifier( $table );
        $this->table = $table;
        return $this;

this code means for me that only one table at once is possible. but why?
i think it will be quite simple to extend this section for multiple
tables update like the sql query. i am not perhaps i can create the code
and give it back to you?

Dominique 'NetAndroid' Schramm
- Twitter: @NetAndroid_BY
- @netandroid
- Blog:

View raw message