Hi @Juhi Saxena
The Azure Cosmos DB query provider performs a best effort mapping from a LINQ query into a Cosmos DB SQL query. If you want to get the SQL query that is translated from LINQ, use the ToString() method on the generated IQueryableobject.
There is a guide on how convert LINQ to SQL translation in the below Microsoft link.
https://learn.microsoft.com/en-us/azure/cosmos-db/sql/sql-query-linq-to-sql
Hope this will be helpful and serve as a library for you.
Hope to read from you.
Cheers.
Sina