-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMongoDbHeader.h
30 lines (24 loc) · 933 Bytes
/
MongoDbHeader.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef MONGODB_ASYNC_MONGODBHEADER_H
#define MONGODB_ASYNC_MONGODBHEADER_H
#include <cstdint>
#include <iostream>
#include <vector>
#include <bsoncxx/json.hpp>
#include <mongocxx/client.hpp>
#include <mongocxx/stdx.hpp>
#include <mongocxx/uri.hpp>
#include "BaseHeader.h"
using bsoncxx::builder::stream::close_array;
using bsoncxx::builder::stream::close_document;
using bsoncxx::builder::stream::document;
using bsoncxx::builder::stream::finalize;
using bsoncxx::builder::stream::open_array;
using bsoncxx::builder::stream::open_document;
typedef bsoncxx::document::value document_value;
typedef bsoncxx::document::view document_view;
typedef shared_ptr<document_value> document_ptr;
typedef vector<document_value> document_vector;
typedef shared_ptr<document_vector> document_vector_ptr;
typedef mongocxx::options::find find_options;
typedef shared_ptr<find_options> find_options_ptr;
#endif //MONGODB_ASYNC_MONGODBHEADER_H