protected function create_recordset($result) {
        $rs = new sqlsrv_native_moodle_recordset($result, $this);
        $this->recordsets[] = $rs;
        return $rs;
    }
protected function create_recordset($result) {
        $rs = new sqlsrv_native_moodle_recordset($result, $this);
        $this->recordsets[] = $rs;
        return $rs;
    }
protected function create_recordset ( $ result ) { $ rs = new sqlsrv_native_moodle_recordset ( $ result , $ this ) ; $ this -> recordsets [ ] = $ rs ; return $ rs ; }
Create a record set and initialize with first row

@param mixed $result
@return sqlsrv_native_moodle_recordset
Create a record set and initialize with first row