有人可以告诉我如何使用 includeInlineCount();在android studio中计算azure数据库表中的行数?
我尝试过这个方法:
final MobileServiceList<Crime> result = mToDoTable.where().includeInlineCount().execute().get();
这个方法:
final MobileServiceList<Crime> result = mToDoTable.includeInlineCount().execute().get();
运行此代码时我没有收到错误。相反,原本应该显示行数的 textView 只是显示每行第一列的值。我如何计算这些值并显示该数字?
最佳答案
@Cain,这似乎是一个重复的线程,Count number of strings returned from Azure query ,请参阅该答案。
最诚挚的问候。
关于java - Azure,includeInlineCount();,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35868239/