Swoole\Model::all PHP Method

all() public method

获取到所有表记录的接口,通过这个接口可以访问到数据库的记录
public all ( ) : RecordSet
return RecordSet Object (这是一个接口,不包含实际的数据)
    public function all()
    {
        return new RecordSet($this->db, $this->table, $this->primary, $this->select);
    }