【问题标题】:How to join two tables in azure mobile apps in android?如何在 android 的 azure 移动应用程序中加入两个表?
【发布时间】:2017-07-29 05:34:09
【问题描述】:

我可以在 android 中查询 an= 表,但是如何将表 A 与具有外键的表 B 连接起来?

【问题讨论】:

标签: android sql azure


【解决方案1】:

根据我的经验,有两种方法可以满足您的需求。

  1. 创建一个 View 用于在 Azure SQL 数据库上将表 A 与表 B 连接起来,然后您可以使用 Azure 移动应用从 Android 视图中查询数据。
  2. 在 Azure 移动应用后端创建自定义 api 来执行自定义 SQL 语句,然后从 android 客户端调用自定义 api。后端请参考教程部分Custom APIs中的How to: Execute custom SQL statements小节,Android客户端请参考教程部分How to: Call a custom API

【讨论】:

    猜你喜欢
    • 2011-06-24
    • 2012-09-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-05-23
    相关资源
    最近更新 更多