     }
 
     private func columnAt(rowIndex: Int32, columnIndex: Int32) -> Any? {
-        guard PQgetisnull(self.res, rowIndex, columnIndex) == 0 else {
+        guard PQgetisnull(self.result, rowIndex, columnIndex) == 0 else {
             return nil
         }
 
-        guard let value = PQgetvalue(self.res, rowIndex, columnIndex) else {
+        guard let value = PQgetvalue(self.result, rowIndex, columnIndex) else {
             return nil
         }
 

    }

    private func close() throws {
        guard let res = res else {
            return
        }

        PQclear(res)
        self.res = OpaquePointer(bitPattern: 0)
    }
}

                continue
            }

            let name = String(cString: PQfname(self.result, idx))
            columns[name] = column
        }

