Database connection.
Definition: postgresql.h:240
void prefetch_ids(const std::set< int > &ids, std::function< void(int, const LevTrDesc &)> dest) override
Given a set of IDs, load LevTr information for them and add it to data.
Precompiled queries to manipulate the lev_tr table.
Definition: v7/postgresql/levtr.h:26
levtrs_t::iterator lookup_id(State &st, int id) override
Look up a LevTr from the database given its ID.
void prefetch_same_level(int id, std::function< void(int, const LevTrDesc &)> dest) override
Given an ID, load LevTr information for all the entries with the same level type. ...
levtrs_t::iterator obtain_id(State &state, const LevTrDesc &desc) override
Look up a LevTr from the database given its description.