on 2022 Dec 06 11:34 AM
Hi All,
We are using the offline oData functionality in our iOS application using the BTP SDK for iOS. Here we are trying to get a distinct set of values for an particular non key column from an entity set using the DataQuery class.
We are using OData version 2.0 and I see that there is an method SelectDistinct which could be used to return distinct values, but we are not sure how it would work as the documentation is pretty unclear. When we tried, it didn't work properly and it still returned duplicate values.
Hence could anyone please help us here regarding select distinct items from an entity set for an property?
Thanks & Regards,
Vishal
This will probably be ignored by OnlineODataProvider (there's no standard URL pattern for it) and OfflineODataProvider, but should be respected by SQLDatabaseProvider and CloudSyncProvider.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
13 | |
10 | |
9 | |
9 | |
8 | |
6 | |
6 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.