MCPcopy Create free account
hub / github.com/SapphireServer/Sapphire / getBoolean

Method getBoolean

deps/mysqlConnector/ResultSet.cpp:242–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242bool 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
250bool Mysql::ResultSet::getBoolean( const std::string &columnLabel ) const
251{

Callers 2

loadMethod · 0.45
initLandCacheMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected