pgLab/src/PgAuthIdContainer.h
eelke 2d962334da Added list of databases and roles.
Roles works for atleast 9.3 and up.

Reorganizing code for communicating with database.
2017-02-18 12:05:48 +01:00

26 lines
407 B
C++

#ifndef PGAUTHIDCONTAINER_H
#define PGAUTHIDCONTAINER_H
#include <vector>
#include "PgContainer.h"
#include "PgAuthId.h"
namespace Pgsql {
class Result;
}
class PgAuthIdContainer: public PgContainer<PgAuthId> {
public:
explicit PgAuthIdContainer(PgsqlDatabaseCatalogue *cat);
std::string getLoadQuery() const;
void load(const Pgsql::Result &res);
private:
};
#endif // PGAUTHIDCONTAINER_H