只有连接数据库时, 才生效, 执行完成之后, 会清理SQL
public bool exec(bool $flags = false)
当使用类 Asf_Db_QueryBuilder_Select
当使用类 Asf_Db_QueryBuilder_Insert, Asf_Db_QueryBuilder_UpdateQueryBuilder, Asf_Db_QueryBuilder_DeleteQueryBuilder
失败返回 false
<?php // string(37) "[SQL] select * from test where cm = 1" use Asf\Db; $select = Db::QBS(); $select->cm('* from test where cm = 1'); $select->exec();