mirror of https://gitee.com/bigwinds/arangodb
Cleanup: killall tabs.
This commit is contained in:
parent
2bf01eae1b
commit
8da5a6c0b3
|
@ -210,4 +210,3 @@ v8::Handle<v8::Object> WrapCollection (TRI_vocbase_col_t const* collection) {
|
|||
|
||||
return scope.Close(result);
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ bool EqualCollection (triagens::arango::CollectionNameResolver const* resolver,
|
|||
std::string const& collectionName,
|
||||
TRI_vocbase_col_t const* collection);
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief wraps a TRI_vocbase_col_t
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
v8::Handle<v8::Object> WrapCollection (TRI_vocbase_col_t const* collection);
|
||||
|
|
|
@ -191,5 +191,3 @@ bool ExtractDocumentHandle (v8::Handle<v8::Value> const val,
|
|||
// unknown value type. give up
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1969,6 +1969,7 @@ void TRI_InitV8indexArangoDB (v8::Handle<v8::Context> context,
|
|||
const size_t threadNumber,
|
||||
TRI_v8_global_t* v8g,
|
||||
v8::Handle<v8::ObjectTemplate> rt){
|
||||
|
||||
TRI_AddMethodVocbase(rt, "_create", JS_CreateVocbase, true);
|
||||
TRI_AddMethodVocbase(rt, "_createEdgeCollection", JS_CreateEdgeCollectionVocbase);
|
||||
TRI_AddMethodVocbase(rt, "_createDocumentCollection", JS_CreateDocumentCollectionVocbase);
|
||||
|
@ -1983,6 +1984,7 @@ void TRI_InitV8indexCollection (v8::Handle<v8::Context> context,
|
|||
const size_t threadNumber,
|
||||
TRI_v8_global_t* v8g,
|
||||
v8::Handle<v8::ObjectTemplate> rt){
|
||||
|
||||
TRI_AddMethodVocbase(rt, "dropIndex", JS_DropIndexVocbaseCol);
|
||||
TRI_AddMethodVocbase(rt, "ensureIndex", JS_EnsureIndexVocbaseCol);
|
||||
TRI_AddMethodVocbase(rt, "lookupIndex", JS_LookupIndexVocbaseCol);
|
||||
|
|
|
@ -69,4 +69,3 @@ void TRI_InitV8shaped_json (v8::Handle<v8::Context> context,
|
|||
const size_t threadNumber,
|
||||
TRI_v8_global_t* v8g);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue