kopia lustrzana https://github.com/ukhas/habitat-cpp-connector
Make conversion to json integer type explicit
rodzic
57cc869fac
commit
3cdf4b547d
|
@ -254,7 +254,7 @@ vector<Json::Value> *Uploader::flights()
|
||||||
map<string,string> options;
|
map<string,string> options;
|
||||||
|
|
||||||
Json::Value startkey(Json::arrayValue);
|
Json::Value startkey(Json::arrayValue);
|
||||||
startkey.append((long long int) time(NULL));
|
startkey.append((Json::Int64) time(NULL));
|
||||||
|
|
||||||
options["include_docs"] = "true";
|
options["include_docs"] = "true";
|
||||||
options["startkey"] = CouchDB::Database::json_query_value(startkey);
|
options["startkey"] = CouchDB::Database::json_query_value(startkey);
|
||||||
|
|
Ładowanie…
Reference in New Issue