Posts By: Carlos Figueira

Azure Regions

Querying MongoDB collections via the Azure Mobile Service node.js backend

In my previous post I showed how to use tables in an Azure Mobile Services node.js backend to talk to a MongoDB collection for simple CRUD operations. In this post we present a way retrieve all OData query parameters passed to the table read script, so that we can support more complex read operations into the Mongo database.

2630.001-CreateMongoDB_63FDC00F

Exposing MongoDB collections on the node.js backend

Unlike in the .NET backend, the node.js backend of Azure Mobile Services doesn’t have native support for MongoDB collections. We can, however, implement it in a node.js mobile service by using table scripts. This post shows how to add basic support for CRUD operations from a Mongo database to your mobile service.