Azure移动应用程序使用Java内部查询 [英] Azure mobile app query inner join with java

查看:78
本文介绍了Azure移动应用程序使用Java内部查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想对Java和Azure移动应用程序使用内部联接查询,但是看起来api不允许它在表之间执行操作.有什么办法吗?

I want to use an inner join query with Java and Azure mobile apps, but it looks like api does not let it do operations among the tables. Is there any way to do it?

List<ToDoItem> result = table.where()
                            .field("complete").eq(false)
                            .execute().get();

如您所见,所有操作都在一个表上.

As you see, all the operations are over a table.

推荐答案

@shanks,有一个类似的SO线程

@shanks, There is a similar SO thread Implementing table joins in the Mobile Apps Node.js backend using SQL which has been answered and you can refer to.

假设使用Node.js作为Azure移动应用程序的后端,请执行以下步骤:

Assumption that using Node.js as the backend of Azure Mobile App, the steps as below:

  1. 通过功能 查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆