Book Image

Learning Azure DocumentDB

By : Riccardo Becker
Book Image

Learning Azure DocumentDB

By: Riccardo Becker

Overview of this book

Learning DocumentDB adopts a practical, step-by-step approach to help you learn the basics of DocumentDB and use your new-found abilities in real-life scenarios and enterprise solutions. We start with the absolute basics, such as setting up a DocumentDB environment, and guide you through managing your databases, and executing simple and complex queries. Next, we explain how to work with DocumentDB using the open REST protocol, and demonstrate how JavaScript works with DocumentDB. We’ll also show you how to authenticate and execute queries. Moving on, you’ll find out how to use DocumentDB from within Node.js to kick-start your Node.js projects. Next, you’ll discover how to increase the performance of your DocumentDB database and fine-tune it. Finally, you’ll get to grips with using DocumentDB in conjunction with other services offered from the Microsoft Azure platform.
Table of Contents (15 chapters)
Learning Azure DocumentDB
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we discussed advanced querying options for our databases in great detail. First, we saw how to use the SELECT statement together with the FROM statement. We saw how to use JOIN operations and how to select from so-called subdocuments. Next, we discussed how to use the WHERE statement along with different operators such as BETWEEN, AND, and IN, and how to use conditional expressions.

In subsequent sections, we discussed how to use built-in functions. We saw how to write our own stored procedures, triggers, and user-defined functions. Finally, we talked about the LINQ provider for DocumentDB.

In the next chapter, you will learn about the REST protocol and how to use it to access DocumentDB resources. This will be demonstrated in C# snippets and by the use of an external tool called Fiddler.