27 lines
384 B
C
27 lines
384 B
C
|
|
#ifndef PGDATABASECONTAINER_H
|
|||
|
|
#define PGDATABASECONTAINER_H
|
|||
|
|
|
|||
|
|
#include <vector>
|
|||
|
|
#include "PgContainer.h"
|
|||
|
|
#include "PgDatabase.h"
|
|||
|
|
|
|||
|
|
namespace Pgsql {
|
|||
|
|
|
|||
|
|
class Result;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
class PgDatabaseContainer: public PgContainer<PgDatabase> {
|
|||
|
|
public:
|
|||
|
|
PgDatabaseContainer();
|
|||
|
|
|
|||
|
|
std::string getLoadQuery() const;
|
|||
|
|
void load(const Pgsql::Result &res);
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
|
|||
|
|
#endif // PGDATABASECONTAINER_H
|