我安装了Orient db(3.0.15)并设置了root密码。然后我去了控制台http://localhost:2480
我点击了云图标并下载了“ VehicleHistoryGraph”
现在我说的是在控制台中
new AsyncDbCall<>(addDeviceCallback, resultCallback).execute(device);
我可以看到其中列出了const MangaTabRouter = createMaterialTopTabNavigator(
{
Info: { screen: props => <Manga {...props}/> },
Chapter: { screen: props => <Chapter {...props}/> }
}
);
class ExtendStack extends React.Component {
static router = MangaTabRouter.router;
render() {
const { navigation } = this.props;
return <MangaTabRouter navigation={navigation} screenProps={navigation.state.params} />;
}
}
const Stack = createStackNavigator(
{
Main: {
screen: ExtendStack,
navigationOptions: {
header: props => <CustomHeader {...props} />
}
}
}
);
但是当我说
connect remote:localhost root foobar
list databases
我得到了错误
VehicleHistoryGraph
我可以轻松使用与上述相同的命令并连接到demodb。