none
How do you create tables for Azure Database with a Cordova App in Microsoft Visual Studios? RRS feed

  • Question

  • What I mean is, how do I create tables which will store my data within a Cordova App without having to create said table in Microsoft Easy Tables? My app currently is only able to add/modify/delete from EXISTING tables already created in Azure's Easy Tables. Now I want to make it dynamic, in that when a user creates new data, the app would dynamically create the table within the database. As of now, I only know the insert(), read(), then() functions. Is there a function which would allow me to create a table?

            client = new WindowsAzure.MobileServiceClient('https://strivemobileapp.azurewebsites.net');
            todoItemTable = client.getTable(tableName);
            todoItemTable.read().then(getEnrollee, handleError);

    From what I understand. This is how you would read an EXISTING table. Is there a code which would create the table itself? 

    Thursday, November 22, 2018 12:30 AM