我正在使用 azure 移动服务作为我正在开发的 Android 应用程序的存储平台。如何从一个月或更短时间的表中选择数据?这是我想要将该功能添加到的查询:
final MobileServiceList<Crime> assaultNum = mToDoTable.where().field("county").eq(countyString).execute().get();
最佳答案
此查询选择县列等于 Kildare South 且日期列中的月份等于 March(03) 的行。所以它应该是:
final MobileServiceList<Crime> assaultNum = mToDoTable.where().field("county").eq("Kildare South")
.and().month("date").eq(03).execute().get();
关于java - Azure 移动设备作为存储,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36135159/