MCPcopy Create free account
hub / github.com/apple/foundationdb / createDatabase

Method createDatabase

bindings/flow/fdb_flow.actor.cpp:275–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275Reference<Database> API::createDatabase(std::string const& connFilename) {
276 FDBDatabase* db;
277 throw_on_error(fdb_create_database(connFilename.c_str(), &db));
278 return Reference<Database>(new DatabaseImpl(db));
279}
280
281int API::getAPIVersion() const {
282 return version;

Callers 4

Future<Void> _testFunction · 0.45
startTestFunction · 0.45
_test_versionstampFunction · 0.45
fdb_create_database_implFunction · 0.45

Calls 2

throw_on_errorFunction · 0.85
c_strMethod · 0.45

Tested by 2

startTestFunction · 0.36
_test_versionstampFunction · 0.36