memgraph/include/database/db.hpp
2016-08-19 11:28:10 +01:00

23 lines
317 B
C++

#pragma once
#include "storage/graph.hpp"
#include "transactions/engine.hpp"
class Db
{
public:
using sptr = std::shared_ptr<Db>;
Db();
Db(const std::string &name);
Db(const Db &db) = delete;
Graph graph;
tx::Engine tx_engine;
std::string &name();
private:
std::string name_;
};