I'm new to Cosmos DB. It's not clear from the documentation if there's any difference between the TOP x
keyword and the OFFSET 0 LIMIT x
clause in a plain (not having a GROUP BY
clause) query?
From what I see results for these 2 queries are identical.
SELECT * FROM ROOT AS m ORDER BY m.id OFFSET 0 LIMIT 1
SELECT TOP 1 * FROM ROOT AS m ORDER BY m.id