/* listTables() Method call ASYNC arg0: SessionImpl * arg1: database name arg2: user_callback */ Handle<Value> listTables(const Arguments &args) { DEBUG_MARKER(UDEB_DETAIL); REQUIRE_ARGS_LENGTH(3); ListTablesCall * ncallptr = new ListTablesCall(args); DEBUG_PRINT("listTables in database: %s", ncallptr->arg1); ncallptr->runAsync(); return Undefined(); }
/* listTables() Method call ASYNC arg0: DBDictionaryImpl arg1: database name arg2: user_callback */ Handle<Value> listTables(const Arguments &args) { DEBUG_MARKER(UDEB_DETAIL); HandleScope scope; // FIXME: This throws an assertion that never gets caught ... REQUIRE_ARGS_LENGTH(3); ListTablesCall * ncallptr = new ListTablesCall(args); DEBUG_PRINT("listTables in database: %s", ncallptr->arg1); ncallptr->runAsync(); return scope.Close(JS_VOID_RETURN); }