Listing 14.12. Przykładowe wywołanie metody fetchOne()
$sql = 'select count(rzeka_id) from rzeka';
$ile = $db->fetchOne($sql);
echo $ile;