| 240 | } |
| 241 | |
| 242 | bool Mysql::ResultSet::getBoolean( uint32_t columnIndex ) const |
| 243 | { |
| 244 | if( columnIndex == 0 || columnIndex > m_numFields ) |
| 245 | throw std::runtime_error( "ResultSet::getBoolean: invalid value of 'columnIndex'" ); |
| 246 | |
| 247 | return getInt( columnIndex ) ? true : false; |
| 248 | } |
| 249 | |
| 250 | bool Mysql::ResultSet::getBoolean( const std::string &columnLabel ) const |
| 251 | { |
no outgoing calls
no test coverage detected