memgraph/dc/example/postgresql.cpp
2015-10-22 23:54:28 +02:00

29 lines
360 B
C++

#include "db.hpp"
class postgresql : public db
{
public:
void name() const override
{
cout << "PostgreSQL" << endl;
}
void type() const override
{
cout << "Relational" << endl;
}
~postgresql() {}
};
extern "C" db* produce()
{
return new postgresql();
}
extern "C" void destruct(db* p)
{
delete p;
}