1

We have created a partitioned collection with MyID as partition Key in azure DocumentDB and populated data in to the collection , but when we try to run a query with order by it fails,

Sample Query, SELECT * FROM Families f JOIN c IN f.children WHERE f.MyId = 123 ORDER BY f.address.city ASC

Please suggest on the same.

1 Answer 1

1

DocumentDB supports cross-partition Order By only as a preview feature. You need to email [email protected] to get access to it.

DocumentDB supports cross partition ORDER BY as of SDK 1.9.0+.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.