Asf_Db_QueryBuilder_Delete


Introduction

Db Query Builder Delete

在开启命名空间情况下(asf.use_namespace=1)类名为 Asf\Db\QueryBuilder\Delete

Class synopsis

<?php
final class Asf_Db_QueryBuilder_DeleteQueryBuilder extends Asf_Db_AbstractQueryBuilder
{
    public function __construct(void)
    /* alias __construct */
    public function delete(void)
}

Examples

Example #1

<?php
// string(56) "[SQL] DELETE FROM `test` WHERE `id` = ? [BVALUES] 100"

$delete = new Asf_Db_QueryBuilder_Delete();
$delete
->from('test')
->where('id', 100);