diff --git a/source/includes/sdk-examples/crud/read-define-geospatial-shapes-box.rst b/source/includes/sdk-examples/crud/read-define-geospatial-shapes-box.rst index 325d3f4014..a03cb56407 100644 --- a/source/includes/sdk-examples/crud/read-define-geospatial-shapes-box.rst +++ b/source/includes/sdk-examples/crud/read-define-geospatial-shapes-box.rst @@ -4,46 +4,46 @@ - id: cpp-sdk content: | - .. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp + .. literalinclude:: /examples/MissingPlaceholders/api.cpp :language: cpp + :copyable: false - id: csharp content: | - .. literalinclude:: /examples/MissingPlaceholders/example.cs + .. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geobox.cs :language: csharp - :copyable: false - id: dart content: | - .. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart + .. literalinclude:: /examples/generated/flutter/geospatial_data_test.snippet.geobox.dart :language: dart - id: java content: | - .. literalinclude:: /examples/MissingPlaceholders/example.java + .. literalinclude:: /examples/MissingPlaceholders/api.java :language: java :copyable: false - id: java-kotlin content: | - .. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt + .. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt :language: kotlin :copyable: false - id: javascript content: | - .. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geobox.js :language: javascript - id: kotlin content: | - .. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt + .. literalinclude:: /examples/generated/kotlin/Geospatial.snippet.geobox.kt :language: kotlin - id: objectivec @@ -62,6 +62,5 @@ - id: typescript content: | - .. literalinclude:: /examples/MissingPlaceholders/example.ts + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geobox.ts :language: typescript - :copyable: false diff --git a/source/includes/sdk-examples/crud/read-define-geospatial-shapes-circle.rst b/source/includes/sdk-examples/crud/read-define-geospatial-shapes-circle.rst index 75dc2c886d..226a0eb966 100644 --- a/source/includes/sdk-examples/crud/read-define-geospatial-shapes-circle.rst +++ b/source/includes/sdk-examples/crud/read-define-geospatial-shapes-circle.rst @@ -4,46 +4,46 @@ - id: cpp-sdk content: | - .. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp + .. literalinclude:: /examples/MissingPlaceholders/api.cpp :language: cpp + :copyable: false - id: csharp content: | - .. literalinclude:: /examples/MissingPlaceholders/example.cs + .. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geocircle.cs :language: csharp - :copyable: false - id: dart content: | - .. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart + .. literalinclude:: /examples/generated/flutter/geospatial_data_test.snippet.geocircle.dart :language: dart - id: java content: | - .. literalinclude:: /examples/MissingPlaceholders/example.java + .. literalinclude:: /examples/MissingPlaceholders/api.java :language: java :copyable: false - id: java-kotlin content: | - .. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt + .. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt :language: kotlin :copyable: false - id: javascript content: | - .. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geocircle.js :language: javascript - id: kotlin content: | - .. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt + .. literalinclude:: /examples/generated/kotlin/Geospatial.snippet.geocircle.kt :language: kotlin - id: objectivec @@ -62,6 +62,5 @@ - id: typescript content: | - .. literalinclude:: /examples/MissingPlaceholders/example.ts + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geocircle.ts :language: typescript - :copyable: false diff --git a/source/includes/sdk-examples/crud/read-define-geospatial-shapes-polygon.rst b/source/includes/sdk-examples/crud/read-define-geospatial-shapes-polygon.rst index 1dc7b38a50..a0c305a549 100644 --- a/source/includes/sdk-examples/crud/read-define-geospatial-shapes-polygon.rst +++ b/source/includes/sdk-examples/crud/read-define-geospatial-shapes-polygon.rst @@ -4,46 +4,47 @@ - id: cpp-sdk content: | - .. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp + .. literalinclude:: /examples/MissingPlaceholders/api.cpp :language: cpp + :copyable: false - id: csharp content: | - .. literalinclude:: /examples/MissingPlaceholders/example.cs + .. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geopolygon.cs :language: csharp - :copyable: false - id: dart content: | - .. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart + .. literalinclude:: /examples/MissingPlaceholders/example.dart :language: dart + :copyable: false - id: java content: | - .. literalinclude:: /examples/MissingPlaceholders/example.java + .. literalinclude:: /examples/MissingPlaceholders/api.java :language: java :copyable: false - id: java-kotlin content: | - .. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt + .. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt :language: kotlin :copyable: false - id: javascript content: | - .. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geopolygon.js :language: javascript - id: kotlin content: | - .. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt + .. literalinclude:: /examples/generated/kotlin/Geospatial.snippet.geopolygon.kt :language: kotlin - id: objectivec @@ -62,6 +63,5 @@ - id: typescript content: | - .. literalinclude:: /examples/MissingPlaceholders/example.ts + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geopolygon.ts :language: typescript - :copyable: false diff --git a/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-box.rst b/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-box.rst index 280536e2f7..46ce940f38 100644 --- a/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-box.rst +++ b/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-box.rst @@ -4,47 +4,54 @@ - id: cpp-sdk content: | - .. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp + .. literalinclude:: /examples/MissingPlaceholders/api.cpp :language: cpp + :copyable: false - id: csharp content: | - .. literalinclude:: /examples/MissingPlaceholders/example.cs + .. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geobox-query.cs :language: csharp - :copyable: false - id: dart content: | - .. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart + .. literalinclude:: /examples/generated/flutter/geospatial_data_test.snippet.geobox-query.dart :language: dart - id: java content: | - .. literalinclude:: /examples/MissingPlaceholders/example.java + .. literalinclude:: /examples/MissingPlaceholders/api.java :language: java :copyable: false - id: java-kotlin content: | - .. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt + .. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt :language: kotlin :copyable: false - id: javascript content: | - .. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geobox-query.js :language: javascript - id: kotlin content: | - .. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt - :language: kotlin + .. io-code-block:: + + .. input:: /examples/generated/kotlin/Geospatial.snippet.geobox-query.kt + :language: kotlin + + .. output:: + + Companies in large box: 1 + Companies in small box: 2 - id: objectivec content: | @@ -62,6 +69,5 @@ - id: typescript content: | - .. literalinclude:: /examples/MissingPlaceholders/example.ts + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geobox-query.ts :language: typescript - :copyable: false diff --git a/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-circle.rst b/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-circle.rst index f1d78a80da..4d2bd7703b 100644 --- a/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-circle.rst +++ b/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-circle.rst @@ -4,47 +4,54 @@ - id: cpp-sdk content: | - .. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp + .. literalinclude:: /examples/MissingPlaceholders/api.cpp :language: cpp + :copyable: false - id: csharp content: | - .. literalinclude:: /examples/MissingPlaceholders/example.cs + .. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geocircle-query.cs :language: csharp - :copyable: false - id: dart content: | - .. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart + .. literalinclude:: /examples/generated/flutter/geospatial_data_test.snippet.geocircle-query.dart :language: dart - id: java content: | - .. literalinclude:: /examples/MissingPlaceholders/example.java + .. literalinclude:: /examples/MissingPlaceholders/api.java :language: java :copyable: false - id: java-kotlin content: | - .. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt + .. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt :language: kotlin :copyable: false - id: javascript content: | - .. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geocircle-query.js :language: javascript - id: kotlin content: | - .. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt - :language: kotlin + .. io-code-block:: + + .. input:: /examples/generated/kotlin/Geospatial.snippet.geocircle-query.kt + :language: kotlin + + .. output:: + + Companies in large circle: 1 + Companies in small circle: 0 - id: objectivec content: | @@ -62,6 +69,5 @@ - id: typescript content: | - .. literalinclude:: /examples/MissingPlaceholders/example.ts + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geocircle-query.ts :language: typescript - :copyable: false diff --git a/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-polygon.rst b/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-polygon.rst index 229bea7d88..0f75a8c4a1 100644 --- a/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-polygon.rst +++ b/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-polygon.rst @@ -4,47 +4,55 @@ - id: cpp-sdk content: | - .. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp + .. literalinclude:: /examples/MissingPlaceholders/api.cpp :language: cpp + :copyable: false - id: csharp content: | - .. literalinclude:: /examples/MissingPlaceholders/example.cs + .. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geopolygon-query.cs :language: csharp - :copyable: false - id: dart content: | - .. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart + .. literalinclude:: /examples/MissingPlaceholders/example.dart :language: dart + :copyable: false - id: java content: | - .. literalinclude:: /examples/MissingPlaceholders/example.java + .. literalinclude:: /examples/MissingPlaceholders/api.java :language: java :copyable: false - id: java-kotlin content: | - .. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt + .. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt :language: kotlin :copyable: false - id: javascript content: | - .. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geopolygon-query.js :language: javascript - id: kotlin content: | - .. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt - :language: kotlin + .. io-code-block:: + + .. input:: /examples/generated/kotlin/Geospatial.snippet.geopolygon-query.kt + :language: kotlin + + .. output:: + + Companies in basic polygon: 2 + Companies in polygon with holes: 1 - id: objectivec content: | @@ -62,6 +70,5 @@ - id: typescript content: | - .. literalinclude:: /examples/MissingPlaceholders/example.ts + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geopolygon-query.ts :language: typescript - :copyable: false diff --git a/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes.rst b/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes.rst index adf696f6a9..f6259d17d3 100644 --- a/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes.rst +++ b/source/includes/sdk-examples/crud/read-query-with-geospatial-shapes.rst @@ -4,46 +4,46 @@ - id: cpp-sdk content: | - .. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp + .. literalinclude:: /examples/MissingPlaceholders/api.cpp :language: cpp + :copyable: false - id: csharp content: | - .. literalinclude:: /examples/MissingPlaceholders/example.cs + .. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geopoint.cs :language: csharp - :copyable: false - id: dart content: | - .. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart + .. literalinclude:: /examples/generated/flutter/geospatial_data_test.snippet.write-geospatial-object.dart :language: dart - id: java content: | - .. literalinclude:: /examples/MissingPlaceholders/example.java + .. literalinclude:: /examples/MissingPlaceholders/api.java :language: java :copyable: false - id: java-kotlin content: | - .. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt + .. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt :language: kotlin :copyable: false - id: javascript content: | - .. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.write-geospatial-object.js :language: javascript - id: kotlin content: | - .. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt + .. literalinclude:: /examples/generated/kotlin/Geospatial.snippet.create-geopoint.kt :language: kotlin - id: objectivec @@ -62,6 +62,5 @@ - id: typescript content: | - .. literalinclude:: /examples/MissingPlaceholders/example.ts + .. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.write-geospatial-object.ts :language: typescript - :copyable: false