node.js - How to Write AZURE Easy TABLE Script with Join Operation -
i facing problem in writing azure easy table script. in read function performing select operation fetch data 2 different table. performing join operation in select query.
please help.
help appreciated.
code snippet given below :
todofetchquery = "select todo.*,abc.firstname ,abc.middlename, abc.lastname todo left outer join student on (todo.to_id = abc.id) tea_id = '" + context.req.query.tearecordid + "'";
the proper way want create sql view combination of tables. see following walk-through of using existing sql table , view supports fields necessary. https://adrianhall.github.io/develop-mobile-apps-with-csharp-and-azure/chapter3/server/#using-an-existing-sql-table
in case, create view shows data - once view works, can use regular table controller using view instead of table project azure mobile apps client sdks , "just work".
Comments
Post a Comment