Db Query Builder Update
在开启命名空间情况下(asf.use_namespace=1)类名为 Asf\Db\QueryBuilder\Update
<?php final class Asf_Db_QueryBuilder_UpdateQueryBuilder extends Asf_Db_AbstractQueryBuilder { public function __construct(void) /* alias __construct */ public function update(void) }
<?php // string(96) "[SQL] UPDATE `test` SET `user` = ? , `pass` = ? WHERE `id` = ? [BVALUES] lisi1 , 123456 , 100" $update = new Asf_Db_QueryBuilder_Update(); $update ->table('test') ->set('user', 'lisi1') ->set('pass', '123456') ->where('id', 100);