我正在尝试根据示例文档查询Azure Mobile Apps中的表 . 我有一个序列号和MAC地址表,我正在编写一种方法来查询序列号并返回MAC地址 .
我在最后一个.get();得到错误
public String serialToMac(String serial) {
List<Router> result = routerTable
.where()
.field("serial").eq(serial)
.select("mac")
.execute()
.get();
return result.get(0).toString();
我似乎无法确定导致这种情况的原因 . 非常感谢帮助!
用于移动应用服务客户端库的Microsoft Azure Docs(带有数据库例程):( https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-android-how-to-use-client-library)