Test your knowledge

Let's see whether you can answer the following questions correctly:

  1. Which of the following queries is valid in the Cosmos DB SQL dialect?
    1. SELECT g.* FROM Games g WHERE g.id == '5'
    2. SELECT g.* FROM Games g WHERE g.id = '5'
    3. SELECT * FROM Games g WHERE g.id = '5'
  1. The IS_DEFINED built-in type-checking function does what exactly?
    1. Returns a Boolean indicating whether the property received as an argument has been assigned a value
    2. Returns the number of times a property has been assigned a value in the array expression received as an argument
    3. Returns a Boolean indicating whether the property received as an argument has been defined as required for the collection that contains the document
  2. Which of the following queries ...

Get Guide to NoSQL with Azure Cosmos DB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.