21 std::cout <<
"Trying to insert another Paris:\n";
24 catch(
const std::runtime_error &e)
26 std::cout <<
"Exception: " << e.what() <<
'\n';
35 std::cout <<
"\nMonte Carlo is not in the database\n";
52 std::cout <<
"\nFinding all the John Smiths:\n";
63 std::cout <<
"\nSorted list of persons:\n";
66 const auto &[last, first] = name;
67 std::cout << last <<
", " << first <<
'\n';
const std::string & get_last_name(id_of_person record) const
const std::string & get_first_name(id_of_person record) const
range_of_person_by_name find_person_by_name(const std::string &field_value_of_last_name, const std::string &field_value_of_first_name) const
id_of_city find_city_by_name(const std::string &field_value_of_name) const
id_of_city get_home(id_of_person record) const
const std::string & get_name(id_of_city record) const
static id_of_city null_city()
const std::multimap< std::tuple< std::string, std::string >, id_of_person > & get_index_of_person_by_name()
A writable Database constructed from a writable joedb::Buffered_File.
id_of_person new_person()
constexpr bool is_null() const