seznam / SuperiorMySqlpp

SuperiorMySQL++
GNU Lesser General Public License v3.0
31 stars 20 forks source link

Problem with `cout << row;` #32

Closed Radymus closed 6 years ago

Radymus commented 7 years ago

Hi, i found problem, when i've try fetching data from database with simple query like this:

while (Row row = result.fetchRow()) {
    std::cout << row << std::endl;
}

This code fetch just part of first row. I assume that problem is in row.hpp on line 107, when are pushing results into stream. Problem may be solved calling instead os << item; use this os << item.getStringView().