RethinkDB native connector work, minor fixes.
This commit is contained in:
parent
a6203ed038
commit
4e88c80a22
219 changed files with 33295 additions and 0 deletions
19
ext/librethinkdbxx/src/json_p.h
Normal file
19
ext/librethinkdbxx/src/json_p.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
|
||||
#include "datum.h"
|
||||
|
||||
namespace rapidjson {
|
||||
class CrtAllocator;
|
||||
template<typename> struct UTF8;
|
||||
template <typename, typename> class GenericValue;
|
||||
template <typename> class MemoryPoolAllocator;
|
||||
typedef GenericValue<UTF8<char>, MemoryPoolAllocator<CrtAllocator> > Value;
|
||||
}
|
||||
|
||||
namespace RethinkDB {
|
||||
|
||||
Datum read_datum(const std::string&);
|
||||
Datum read_datum(const rapidjson::Value &json);
|
||||
std::string write_datum(const Datum&);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue