@@ -766,11 +766,132 @@ specified numerical property or collection.
766
766
Section Query Results
767
767
~~~~~~~~~~~~~~~~~~~~~
768
768
769
+ Some of the SDK languages provide an API to split results collections into
770
+ individual sections. Each section corresponds to a key generated from a
771
+ property on the object it represents. This simplifies working with logical
772
+ subsets of query results.
773
+
774
+ .. tabs-drivers::
775
+
776
+ .. tab::
777
+ :tabid: cpp-sdk
778
+
779
+ .. include:: /includes/api-details/generic/crud/read-section-query-results-not-supported.rst
780
+
781
+ .. tab::
782
+ :tabid: csharp
783
+
784
+ .. include:: /includes/api-details/generic/crud/read-section-query-results-not-supported.rst
785
+
786
+ .. tab::
787
+ :tabid: dart
788
+
789
+ .. include:: /includes/api-details/generic/crud/read-section-query-results-not-supported.rst
790
+
791
+ .. tab::
792
+ :tabid: java
793
+
794
+ .. include:: /includes/api-details/generic/crud/read-section-query-results-not-supported.rst
795
+
796
+ .. tab::
797
+ :tabid: java-kotlin
798
+
799
+ .. include:: /includes/api-details/generic/crud/read-section-query-results-not-supported.rst
800
+
801
+ .. tab::
802
+ :tabid: javascript
803
+
804
+ .. include:: /includes/api-details/generic/crud/read-section-query-results-not-supported.rst
805
+
806
+ .. tab::
807
+ :tabid: kotlin
808
+
809
+ .. include:: /includes/api-details/generic/crud/read-section-query-results-not-supported.rst
810
+
811
+ .. tab::
812
+ :tabid: objectivec
813
+
814
+ .. include:: /includes/api-details/objectivec/crud/read-section-query-results-description.rst
815
+
816
+ .. tab::
817
+ :tabid: swift
818
+
819
+ .. include:: /includes/api-details/swift/crud/read-section-query-results-description.rst
820
+
821
+ .. tab::
822
+ :tabid: typescript
823
+
824
+ .. include:: /includes/api-details/generic/crud/read-section-query-results-not-supported.rst
825
+
769
826
.. _sdks-read-query-projections:
770
827
771
828
Query Projections
772
829
~~~~~~~~~~~~~~~~~
773
830
831
+ If your app defines a :ref:`class projection <sdks-define-model-projection>`
832
+ to work with persisted data in a different way in a view model or based on
833
+ certain business logic, you can query on that projection.
834
+
835
+ .. tabs-drivers::
836
+
837
+ .. tab::
838
+ :tabid: cpp-sdk
839
+
840
+ .. include:: /includes/api-details/generic/crud/read-query-projections-not-supported.rst
841
+
842
+ .. tab::
843
+ :tabid: csharp
844
+
845
+ .. include:: /includes/api-details/generic/crud/read-query-projections-not-supported.rst
846
+
847
+ .. tab::
848
+ :tabid: dart
849
+
850
+ .. include:: /includes/api-details/generic/crud/read-query-projections-not-supported.rst
851
+
852
+ .. tab::
853
+ :tabid: java
854
+
855
+ .. include:: /includes/api-details/generic/crud/read-query-projections-not-supported.rst
856
+
857
+ .. tab::
858
+ :tabid: java-kotlin
859
+
860
+ .. include:: /includes/api-details/generic/crud/read-query-projections-not-supported.rst
861
+
862
+ .. tab::
863
+ :tabid: javascript
864
+
865
+ .. include:: /includes/api-details/generic/crud/read-query-projections-not-supported.rst
866
+
867
+ .. tab::
868
+ :tabid: kotlin
869
+
870
+ .. include:: /includes/api-details/generic/crud/read-query-projections-not-supported.rst
871
+
872
+ .. tab::
873
+ :tabid: objectivec
874
+
875
+ .. include:: /includes/api-details/objectivec/crud/read-query-projections-missing-description.rst
876
+
877
+ .. tab::
878
+ :tabid: swift
879
+
880
+ .. include:: /includes/api-details/swift/crud/read-query-projections-description.rst
881
+
882
+ .. tab::
883
+ :tabid: typescript
884
+
885
+ .. include:: /includes/api-details/generic/crud/read-query-projections-not-supported.rst
886
+
887
+ .. tip::
888
+
889
+ Don't do derived queries on top of class projection results. Instead, run a
890
+ query against the SDK object directly and then project the result. If you
891
+ try to do a derived query on top of class projection results, querying a
892
+ field with the same name and type as the original object works, but querying
893
+ a field with a name or type that isn't in the original object fails.
894
+
774
895
.. _sdks-read-filter-by-property-type:
775
896
776
897
Filter by Property Type
0 commit comments