Use SQL Server view in NEW Azure App Service

后端 未结 3 1853
渐次进展
渐次进展 2020-12-21 11:25

I am new to Azure App Service.

I\'ve created a view in Azure database to get data across several tables. Now I want to use the data from this view in my Cordova App

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-21 12:03

    Things can be so easy sometimes ;-)

    All I need to do is to write the following lines to my table controller:

    var table = require('azure-mobile-apps').table();
    table.databaseTableName = 'ViewName';
    module.exports = table;
    

    Thanks for your help!

提交回复
热议问题