To use a special character, like $
, you need to use bracket notation:
SELECT c._id FROM c
order by c._id["$oid"]
You can do this with each property in the hierarchy, so the following also works:
SELECT c._id FROM c
order by c["_id"]["$oid"]
More Related Contents:
- Cosmos DB – Deleting a document
- How is cosmosDB RU throughput enforced
- What is the difference between an Azure Web Site and an Azure Web Role
- How can I delete a leased blob in Microsoft Azure storage
- AzureStorage Blob Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature
- Publish Multiple Projects to Different Locations on Azure Website
- Is there a way to persist chat history in MS Bot Framework Web Chat after a page reload/navigation to another page?
- Rewriting a URL in an Azure web app
- How do I pause an Azure App Service Plan?
- How to create a sub container in azure storage location
- Logging into Azure Ad with Cypress
- Why is “Application permissions” disabled in Azure AD’s “Request API permissions”?
- Retrieve the host keys from an azure function app
- Is it better to have many small Azure storage blob containers (each with some blobs) or one really large container with tons of blobs?
- Differences between Azure Block Blob and Page Blob?
- Is it possible to have a link to raw content of file in Azure DevOps
- Blue/Green Deployments with Azure ServiceFabric
- How to Run Karate API tests on Azure pipelines
- headless authentication Azure AD b2c
- Azure: Is there any way to deploy different instance sizes for test/production
- Using Terraform to import existing resources on Azure
- Azure Storage API ContentDisposition
- Using ConfigurationBuilder in FunctionsStartup
- Azure AD Custom Claims in JWT
- Add virtual directory to an existing WebSite
- How to check Azure Storage BLOB file uploaded correctly?
- Azure Web App Not Using GZip Compression
- Azure AD – Why can’t I validate JWT token issued by Azure AD for my Web API? Getting “IDX10516: Signature validation failed” error
- Azure Pipeline to trigger Pipeline using YAML
- How to get client IP address in Azure Functions C#?