Windows Azure Mobile Services


I’m working on a mobile app for the moment and decided it was a good opportunity to look into the Windows Azure Mobile Services.

During my investigation I have found the following articles particular usefull.

Client side query syntax:
If you need to query for all items in an array a typical T-SQL contains, then you can use the following syntax table.where(function, parameters).read(options);:

// find all TodoItem records with id = 2 or 3
var todos = tables.getTable("TodoItem");
todos.where(function(arr) {
return in arr;
}, [2, 3]).read({
success: console.log(results);

Server side: