Open PsidomPC opened 5 years ago
How do I limit the number of items returned when using QueryItems? I've tried both maxItemCount and pageSize, both don't seem to work:
QueryItems
maxItemCount
pageSize
options = {} options['enableCrossPartitionQuery'] = True options['pageSize'] = 5 # also tried maxItemCount self.app_cosmos_client.QueryItems( database_or_Container_link=collection_link, query=f""" SELECT * FROM c """, options=options )
any updates on this? I have the same issue. maxItemCount does not work.
How do I limit the number of items returned when using
QueryItems
? I've tried bothmaxItemCount
andpageSize
, both don't seem to work: