public object from(string $name [, string $alias_name = ''])
数据库字段名称
别名
操作成功返回 Object, 失败返回 false
<?php use Asf\Db\QueryBuilder\Select; $select = new Select(); $select->cols('id, user') ->from('test1', 'a') ->where('sid', 1) ->limit(0, 1); // string(78) "[SQL] SELECT id, user FROM `test1` a WHERE `sid` = ? LIMIT 0, 1 [BVALUES] 1" var_dump($select->show());