Resultset class names

By default, the name of each resultset class is the same name as the underlying table in the SQL database. An optional table attribute, class, overrides the name of the generated resultset class:

<table name="accounts" class="accts">

...

This example creates an accts class, instead of accounts, that defines a resultset for the accounts table:

accts all_accounts=accts::create(conn);

for (const auto &row: *accts)

// ...

The result class's name is now accts, but this executes an equivalent of SELECT * from accounts.