From 7716659dcaf629744082b837b0242a3c67a60d05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Tue, 16 Dec 2025 19:45:44 +0100 Subject: [PATCH 01/15] build(dsl): Remove the production dependency on :bson-official --- dsl/build.gradle.kts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dsl/build.gradle.kts b/dsl/build.gradle.kts index 34412c5d..53a48af4 100644 --- a/dsl/build.gradle.kts +++ b/dsl/build.gradle.kts @@ -26,7 +26,7 @@ kotlin { jvm() sourceSets.commonMain.dependencies { - api(projects.bsonOfficial) + api(projects.bson) api(projects.annotations) } @@ -37,6 +37,10 @@ kotlin { implementation(libs.kotlinx.serialization) implementation(libs.mongodb.kotlin.reflection) } + + sourceSets.jvmTest.dependencies { + implementation(projects.bsonOfficial) + } } library { -- 2.51.2 From ce3f24642399740e031f8f74fae322b4b2ce8ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Sat, 20 Dec 2025 15:18:07 +0100 Subject: [PATCH 02/15] test(dsl): Technical configuration for running the :dsl tests on more platforms Each platform can configure which BsonFactory implementations are tested using 'testFactories'. However, at the moment, only the JVM configures a factory. The next step is to register a factory for the other platforms. --- dsl/build.gradle.kts | 31 +++++++ dsl/src/commonTest/kotlin/Context.kt | 32 +++++++ dsl/src/commonTest/kotlin/MultiContext.kt | 87 +++++++++++++++++++ .../aggregation/AggregationStageTest.kt | 6 +- .../aggregation/AggregationTestUtils.kt | 19 ++-- .../kotlin/aggregation/ValueTest.kt | 20 +++-- .../operators/ArithmeticValueOperatorsTest.kt | 4 +- .../operators/ArrayValueOperatorsTest.kt | 4 +- .../ConditionalValueOperatorsTest.kt | 4 +- .../operators/StringValueOperatorsTest.kt | 4 +- .../TrigonometryValueOperatorsTest.kt | 4 +- .../operators/TypeValueOperatorsTest.kt | 6 +- .../kotlin/aggregation/stages/CountTest.kt | 6 +- .../kotlin/aggregation/stages/GroupTest.kt | 4 +- .../kotlin/aggregation/stages/LimitTest.kt | 6 +- .../kotlin/aggregation/stages/MatchTest.kt | 6 +- .../kotlin/aggregation/stages/ProjectTest.kt | 6 +- .../kotlin/aggregation/stages/SampleTest.kt | 6 +- .../kotlin/aggregation/stages/SetTest.kt | 4 +- .../kotlin/aggregation/stages/SkipTest.kt | 6 +- .../kotlin/aggregation/stages/SortTest.kt | 6 +- .../kotlin/aggregation/stages/UnsetTest.kt | 6 +- .../kotlin/command/BulkWriteTest.kt | 6 +- .../commonTest/kotlin/command/CountTest.kt | 8 +- .../commonTest/kotlin/command/DeleteTest.kt | 8 +- dsl/src/commonTest/kotlin/command/DropTest.kt | 8 +- dsl/src/commonTest/kotlin/command/FindTest.kt | 8 +- .../commonTest/kotlin/command/InsertTest.kt | 19 ++-- .../commonTest/kotlin/command/UpdateTest.kt | 8 +- .../kotlin/command/UpdateWithPipelineTest.kt | 8 +- .../commonTest/kotlin/options/OptionTest.kt | 8 +- dsl/src/commonTest/kotlin/options/SortTest.kt | 8 +- .../kotlin/options/WriteConcernTest.kt | 8 +- .../kotlin/path/BsonPathConversionsTest.kt | 4 +- dsl/src/commonTest/kotlin/path/FieldTest.kt | 6 +- dsl/src/commonTest/kotlin/path/PathTest.kt | 6 +- .../kotlin/query/ExpressionTestUtils.kt | 5 +- .../kotlin/query/PredicateExpressionTest.kt | 10 +-- .../kotlin/query/filter/ArrayFilterTest.kt | 6 +- .../kotlin/query/filter/BitwiseFilterTest.kt | 6 +- .../query/filter/ComparisonFilterTest.kt | 4 +- .../query/filter/ElementQueryFilterTest.kt | 6 +- .../kotlin/query/filter/ExprFilterTest.kt | 4 +- .../kotlin/query/filter/FilterUtils.kt | 9 +- .../kotlin/query/filter/LogicalFilterTest.kt | 11 ++- .../kotlin/query/filter/RegexTest.kt | 4 +- .../kotlin/query/update/FieldUpdateTest.kt | 4 +- .../kotlin/query/update/UpdateUtils.kt | 13 +-- ...onTestUtils.jvm.kt => MultiContext.jvm.kt} | 22 ++--- .../kotlin/MultiContext.native.kt} | 7 +- .../kotlin/MultiContext.wasmWasi.kt | 22 +++++ dsl/src/webTest/kotlin/MultiContext.web.kt | 22 +++++ 52 files changed, 375 insertions(+), 170 deletions(-) create mode 100644 dsl/src/commonTest/kotlin/Context.kt create mode 100644 dsl/src/commonTest/kotlin/MultiContext.kt rename dsl/src/jvmTest/kotlin/{query/ExpressionTestUtils.jvm.kt => MultiContext.jvm.kt} (77%) rename dsl/src/{jvmTest/kotlin/Marker.kt => nativeTest/kotlin/MultiContext.native.kt} (69%) create mode 100644 dsl/src/wasmWasiTest/kotlin/MultiContext.wasmWasi.kt create mode 100644 dsl/src/webTest/kotlin/MultiContext.web.kt diff --git a/dsl/build.gradle.kts b/dsl/build.gradle.kts index 53a48af4..e156b3c9 100644 --- a/dsl/build.gradle.kts +++ b/dsl/build.gradle.kts @@ -14,6 +14,10 @@ * limitations under the License. */ +@file:OptIn(ExperimentalWasmDsl::class) + +import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl + plugins { alias(opensavvyConventions.plugins.base) alias(opensavvyConventions.plugins.kotlin.library) @@ -24,10 +28,37 @@ plugins { kotlin { jvm() + js { + browser() + nodejs() + } + // linuxX64() // TODO https://youtrack.jetbrains.com/issue/KT-83308 Kotlin Native currently crashes on our codebase + // linuxArm64() + // macosX64() + // macosArm64() + // iosArm64() + // iosX64() + // iosSimulatorArm64() + // watchosX64() + // watchosArm32() + // watchosArm64() + // watchosSimulatorArm64() + // tvosX64() + // tvosArm64() + // tvosSimulatorArm64() + // mingwX64() + // wasmJs { // TODO Wasm crashes with a StackOverflow error + // browser() + // nodejs() + // } + // wasmWasi { + // nodejs() + // } sourceSets.commonMain.dependencies { api(projects.bson) api(projects.annotations) + implementation(libsCommon.jetbrains.annotations) } sourceSets.commonTest.dependencies { diff --git a/dsl/src/commonTest/kotlin/Context.kt b/dsl/src/commonTest/kotlin/Context.kt new file mode 100644 index 00000000..3a932ba4 --- /dev/null +++ b/dsl/src/commonTest/kotlin/Context.kt @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2025-2026, OpenSavvy and contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@file:OptIn(ExperimentalAtomicApi::class, ExperimentalTime::class) + +package opensavvy.ktmongo.dsl + +import opensavvy.prepared.suite.prepared +import kotlin.concurrent.atomics.ExperimentalAtomicApi +import kotlin.time.ExperimentalTime + +/** + * An instance of [BsonContext] usable for configuring DSL tests. + */ +val testContext by prepared { + BsonContext( + bsonFactory = testBsonFactory(), + ) +} diff --git a/dsl/src/commonTest/kotlin/MultiContext.kt b/dsl/src/commonTest/kotlin/MultiContext.kt new file mode 100644 index 00000000..3ed2084f --- /dev/null +++ b/dsl/src/commonTest/kotlin/MultiContext.kt @@ -0,0 +1,87 @@ +/* + * Copyright (c) 2025-2026, OpenSavvy and contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package opensavvy.ktmongo.dsl + +import de.infix.testBalloon.framework.shared.TestDisplayName +import de.infix.testBalloon.framework.shared.TestElementName +import de.infix.testBalloon.framework.shared.TestRegistering +import kotlinx.coroutines.currentCoroutineContext +import opensavvy.ktmongo.bson.BsonFactory +import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.prepared.suite.PreparedDslMarker +import opensavvy.prepared.suite.SuiteDsl +import opensavvy.prepared.suite.TestDsl +import opensavvy.prepared.suite.config.Context +import opensavvy.prepared.suite.config.TestConfig +import opensavvy.prepared.suite.config.plus +import opensavvy.prepared.suite.prepared +import kotlin.coroutines.AbstractCoroutineContextElement +import kotlin.coroutines.CoroutineContext + +/** + * Parameterizes each test by one of the [testBsonFactory] instances. + */ +@PreparedDslMarker +@TestRegistering +fun multiContextSuite( + @TestElementName name: String = "", + @TestDisplayName displayName: String = name, + config: TestConfig = TestConfig.Empty, + content: SuiteDsl.() -> Unit, +) = preparedSuite(name, displayName, preparedConfig = config) { + MultiContextSuite(this).content() +} + +private class MultiContextSuite(private val upstream: SuiteDsl) : SuiteDsl { + override fun suite(name: String, config: TestConfig, block: SuiteDsl.() -> Unit) { + upstream.suite(name, config) { + MultiContextSuite(this).block() + } + } + + override fun test(name: String, config: TestConfig, block: suspend TestDsl.() -> Unit) { + for ((factoryName, factory) in testFactories) { + upstream.test("$name [$factoryName]", config + Context(CurrentBsonFactory(factory)), block) + } + } +} + +private class CurrentBsonFactory(val factory: () -> BsonFactory) : AbstractCoroutineContextElement(CurrentBsonFactory) { + companion object : CoroutineContext.Key +} + +/** + * The different [BsonFactory] implementations that should be used for the test. + * + * The ksys are a human-readable name of the implementation, appended to the test names. + * + * To access the current factory, declare your tests with [multiContextSuite], then access the + * current factory within a test using [testBsonFactory]. + */ +expect val testFactories: Map BsonFactory> + +/** + * The current [BsonFactory]. + * + * This value is only available within tests declared as [multiContextSuite]. + */ +val testBsonFactory by prepared { + val context = currentCoroutineContext()[CurrentBsonFactory] + ?: error("Could not access this test's BsonFactory. Is it declared with multiContextSuite?") + + context.factory() +} diff --git a/dsl/src/commonTest/kotlin/aggregation/AggregationStageTest.kt b/dsl/src/commonTest/kotlin/aggregation/AggregationStageTest.kt index 99d36f03..0434556b 100644 --- a/dsl/src/commonTest/kotlin/aggregation/AggregationStageTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/AggregationStageTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ package opensavvy.ktmongo.dsl.aggregation import opensavvy.ktmongo.dsl.LowLevelApi -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite @OptIn(LowLevelApi::class) -val AggregationStageTest by preparedSuite { +val AggregationStageTest by multiContextSuite { class Target( val foo: String, diff --git a/dsl/src/commonTest/kotlin/aggregation/AggregationTestUtils.kt b/dsl/src/commonTest/kotlin/aggregation/AggregationTestUtils.kt index 63909ba2..933fa9f3 100644 --- a/dsl/src/commonTest/kotlin/aggregation/AggregationTestUtils.kt +++ b/dsl/src/commonTest/kotlin/aggregation/AggregationTestUtils.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,28 +14,32 @@ * limitations under the License. */ +@file:OptIn(LowLevelApi::class) + package opensavvy.ktmongo.dsl.aggregation import opensavvy.ktmongo.bson.BsonFieldWriter +import opensavvy.ktmongo.dsl.BsonContext import opensavvy.ktmongo.dsl.DangerousMongoApi import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext +import opensavvy.ktmongo.dsl.testContext import opensavvy.ktmongo.dsl.tree.BsonNode +import opensavvy.prepared.suite.TestDsl import org.intellij.lang.annotations.Language -@OptIn(LowLevelApi::class) class TestPipeline( - chain: PipelineChainLink = PipelineChainLink(testContext(), null, null) + context: BsonContext, + chain: PipelineChainLink, ) : AbstractPipeline( - testContext(), + context, chain, ), AggregationPipeline, UpdatePipeline { @DangerousMongoApi @LowLevelApi override fun withStage(stage: BsonNode): TestPipeline = - TestPipeline(chain.withStage(stage)) + TestPipeline(context, chain.withStage(stage)) @Suppress("UNCHECKED_CAST") @DangerousMongoApi @@ -52,6 +56,9 @@ class TestPipeline( } +suspend fun TestDsl.TestPipeline(): TestPipeline = + TestPipeline(testContext(), PipelineChainLink(testContext(), null, null)) + infix fun Pipeline<*>.shouldBeBson(@Language("MongoDB-JSON") expected: String) { this.toString() shouldBeBson expected } diff --git a/dsl/src/commonTest/kotlin/aggregation/ValueTest.kt b/dsl/src/commonTest/kotlin/aggregation/ValueTest.kt index 2ebeee3e..400ef0c1 100644 --- a/dsl/src/commonTest/kotlin/aggregation/ValueTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/ValueTest.kt @@ -18,19 +18,16 @@ package opensavvy.ktmongo.dsl.aggregation import opensavvy.ktmongo.dsl.BsonContext import opensavvy.ktmongo.dsl.LowLevelApi +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.testContext +import opensavvy.prepared.suite.TestDsl @LowLevelApi -val ValueTest by preparedSuite { +val ValueTest by multiContextSuite { val dollar = "$" - class AggregationOperatorsImpl : AggregationOperators { - override val context: BsonContext = testContext() - } - class Profile( val age: Int, ) @@ -40,8 +37,13 @@ val ValueTest by preparedSuite { val profile: Profile, ) - fun value(block: AggregationOperators.() -> Value) = - AggregationOperatorsImpl().block().toString() + suspend fun TestDsl.value(block: AggregationOperators.() -> Value): String { + val context = testContext() + return object : AggregationOperators { + override val context: BsonContext + get() = context + }.block().toString() + } suite("Referring to fields with of") { test("Referring to a top-level field") { diff --git a/dsl/src/commonTest/kotlin/aggregation/operators/ArithmeticValueOperatorsTest.kt b/dsl/src/commonTest/kotlin/aggregation/operators/ArithmeticValueOperatorsTest.kt index 7d63919b..1bc983a8 100644 --- a/dsl/src/commonTest/kotlin/aggregation/operators/ArithmeticValueOperatorsTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/operators/ArithmeticValueOperatorsTest.kt @@ -21,9 +21,9 @@ package opensavvy.ktmongo.dsl.aggregation.operators import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val ArithmeticValueOperatorsTest by preparedSuite { +val ArithmeticValueOperatorsTest by multiContextSuite { class Target( val score: Int, diff --git a/dsl/src/commonTest/kotlin/aggregation/operators/ArrayValueOperatorsTest.kt b/dsl/src/commonTest/kotlin/aggregation/operators/ArrayValueOperatorsTest.kt index 135acb54..11934ebf 100644 --- a/dsl/src/commonTest/kotlin/aggregation/operators/ArrayValueOperatorsTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/operators/ArrayValueOperatorsTest.kt @@ -22,9 +22,9 @@ import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.Value import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val ArrayValueOperatorsTest by preparedSuite { +val ArrayValueOperatorsTest by multiContextSuite { class User( val name: String, diff --git a/dsl/src/commonTest/kotlin/aggregation/operators/ConditionalValueOperatorsTest.kt b/dsl/src/commonTest/kotlin/aggregation/operators/ConditionalValueOperatorsTest.kt index ae3fa18c..9aaf21a5 100644 --- a/dsl/src/commonTest/kotlin/aggregation/operators/ConditionalValueOperatorsTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/operators/ConditionalValueOperatorsTest.kt @@ -21,9 +21,9 @@ package opensavvy.ktmongo.dsl.aggregation.operators import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val ConditionalValueOperatorsTest by preparedSuite { +val ConditionalValueOperatorsTest by multiContextSuite { class User( val name: String, diff --git a/dsl/src/commonTest/kotlin/aggregation/operators/StringValueOperatorsTest.kt b/dsl/src/commonTest/kotlin/aggregation/operators/StringValueOperatorsTest.kt index 416ec80d..a46925ae 100644 --- a/dsl/src/commonTest/kotlin/aggregation/operators/StringValueOperatorsTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/operators/StringValueOperatorsTest.kt @@ -21,9 +21,9 @@ package opensavvy.ktmongo.dsl.aggregation.operators import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val StringValueOperatorsTest by preparedSuite { +val StringValueOperatorsTest by multiContextSuite { class Target( val text: String, diff --git a/dsl/src/commonTest/kotlin/aggregation/operators/TrigonometryValueOperatorsTest.kt b/dsl/src/commonTest/kotlin/aggregation/operators/TrigonometryValueOperatorsTest.kt index db90b7f2..8222224f 100644 --- a/dsl/src/commonTest/kotlin/aggregation/operators/TrigonometryValueOperatorsTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/operators/TrigonometryValueOperatorsTest.kt @@ -21,9 +21,9 @@ package opensavvy.ktmongo.dsl.aggregation.operators import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val TrigonometryValueOperatorsTest by preparedSuite { +val TrigonometryValueOperatorsTest by multiContextSuite { class Target( val a: Double, val b: Double, diff --git a/dsl/src/commonTest/kotlin/aggregation/operators/TypeValueOperatorsTest.kt b/dsl/src/commonTest/kotlin/aggregation/operators/TypeValueOperatorsTest.kt index 3aa61e3b..ba437888 100644 --- a/dsl/src/commonTest/kotlin/aggregation/operators/TypeValueOperatorsTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/operators/TypeValueOperatorsTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,14 +23,14 @@ import opensavvy.ktmongo.bson.types.ObjectId import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.path.Field -import opensavvy.prepared.runner.testballoon.preparedSuite import kotlin.time.ExperimentalTime import kotlin.time.Instant import kotlin.uuid.ExperimentalUuidApi import kotlin.uuid.Uuid -val TypeValueOperatorsTest by preparedSuite { +val TypeValueOperatorsTest by multiContextSuite { class Target( val name: String, diff --git a/dsl/src/commonTest/kotlin/aggregation/stages/CountTest.kt b/dsl/src/commonTest/kotlin/aggregation/stages/CountTest.kt index ffa3b294..da422996 100644 --- a/dsl/src/commonTest/kotlin/aggregation/stages/CountTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/stages/CountTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,9 +19,9 @@ package opensavvy.ktmongo.dsl.aggregation.stages import opensavvy.ktmongo.dsl.aggregation.Pipeline import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val CountTest by preparedSuite { +val CountTest by multiContextSuite { class Score( val score: Int, diff --git a/dsl/src/commonTest/kotlin/aggregation/stages/GroupTest.kt b/dsl/src/commonTest/kotlin/aggregation/stages/GroupTest.kt index 8538c35f..e1734161 100644 --- a/dsl/src/commonTest/kotlin/aggregation/stages/GroupTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/stages/GroupTest.kt @@ -22,9 +22,9 @@ import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.aggregation.Pipeline import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val GroupTest by preparedSuite { +val GroupTest by multiContextSuite { class Score( val score: Int, diff --git a/dsl/src/commonTest/kotlin/aggregation/stages/LimitTest.kt b/dsl/src/commonTest/kotlin/aggregation/stages/LimitTest.kt index 07410dc2..0e307fed 100644 --- a/dsl/src/commonTest/kotlin/aggregation/stages/LimitTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/stages/LimitTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,9 +19,9 @@ package opensavvy.ktmongo.dsl.aggregation.stages import io.kotest.assertions.throwables.shouldThrow import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val LimitTest by preparedSuite{ +val LimitTest by multiContextSuite { test($$"Nominal $limit") { TestPipeline() diff --git a/dsl/src/commonTest/kotlin/aggregation/stages/MatchTest.kt b/dsl/src/commonTest/kotlin/aggregation/stages/MatchTest.kt index e417d98d..609cde16 100644 --- a/dsl/src/commonTest/kotlin/aggregation/stages/MatchTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/stages/MatchTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,9 +18,9 @@ package opensavvy.ktmongo.dsl.aggregation.stages import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val MatchTest by preparedSuite { +val MatchTest by multiContextSuite { class Target( val foo: String, diff --git a/dsl/src/commonTest/kotlin/aggregation/stages/ProjectTest.kt b/dsl/src/commonTest/kotlin/aggregation/stages/ProjectTest.kt index 1e2c3770..d94905dc 100644 --- a/dsl/src/commonTest/kotlin/aggregation/stages/ProjectTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/stages/ProjectTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,9 +18,9 @@ package opensavvy.ktmongo.dsl.aggregation.stages import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val ProjectTest by preparedSuite { +val ProjectTest by multiContextSuite { class Target( val _id: String, diff --git a/dsl/src/commonTest/kotlin/aggregation/stages/SampleTest.kt b/dsl/src/commonTest/kotlin/aggregation/stages/SampleTest.kt index 788e72ad..aa5e1dd5 100644 --- a/dsl/src/commonTest/kotlin/aggregation/stages/SampleTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/stages/SampleTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,9 +19,9 @@ package opensavvy.ktmongo.dsl.aggregation.stages import io.kotest.assertions.throwables.shouldThrow import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val SampleTest by preparedSuite { +val SampleTest by multiContextSuite { test($$"$sample") { TestPipeline() diff --git a/dsl/src/commonTest/kotlin/aggregation/stages/SetTest.kt b/dsl/src/commonTest/kotlin/aggregation/stages/SetTest.kt index 1972bbe7..760d1d16 100644 --- a/dsl/src/commonTest/kotlin/aggregation/stages/SetTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/stages/SetTest.kt @@ -18,9 +18,9 @@ package opensavvy.ktmongo.dsl.aggregation.stages import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val SetTest by preparedSuite { +val SetTest by multiContextSuite { class Target( val foo: String, diff --git a/dsl/src/commonTest/kotlin/aggregation/stages/SkipTest.kt b/dsl/src/commonTest/kotlin/aggregation/stages/SkipTest.kt index 93ff8d00..27044054 100644 --- a/dsl/src/commonTest/kotlin/aggregation/stages/SkipTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/stages/SkipTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,9 +19,9 @@ package opensavvy.ktmongo.dsl.aggregation.stages import io.kotest.assertions.throwables.shouldThrow import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val SkipTest by preparedSuite { +val SkipTest by multiContextSuite { test("Skip 5 elements") { TestPipeline() diff --git a/dsl/src/commonTest/kotlin/aggregation/stages/SortTest.kt b/dsl/src/commonTest/kotlin/aggregation/stages/SortTest.kt index a413d64c..8fd7453d 100644 --- a/dsl/src/commonTest/kotlin/aggregation/stages/SortTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/stages/SortTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,9 +18,9 @@ package opensavvy.ktmongo.dsl.aggregation.stages import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val SortTest by preparedSuite { +val SortTest by multiContextSuite { class Target( val _id: String, diff --git a/dsl/src/commonTest/kotlin/aggregation/stages/UnsetTest.kt b/dsl/src/commonTest/kotlin/aggregation/stages/UnsetTest.kt index 1fef5981..73965339 100644 --- a/dsl/src/commonTest/kotlin/aggregation/stages/UnsetTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/stages/UnsetTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ package opensavvy.ktmongo.dsl.aggregation.stages import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.aggregation.TestPipeline import opensavvy.ktmongo.dsl.aggregation.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite -val UnsetTest by preparedSuite { +val UnsetTest by multiContextSuite { class Target( val _id: String, diff --git a/dsl/src/commonTest/kotlin/command/BulkWriteTest.kt b/dsl/src/commonTest/kotlin/command/BulkWriteTest.kt index a34226c3..b6f78271 100644 --- a/dsl/src/commonTest/kotlin/command/BulkWriteTest.kt +++ b/dsl/src/commonTest/kotlin/command/BulkWriteTest.kt @@ -16,14 +16,14 @@ package opensavvy.ktmongo.dsl.command +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.options.WriteConcern import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.testContext import kotlin.reflect.typeOf import kotlin.time.Duration.Companion.minutes -val BulkWriteTest by preparedSuite { +val BulkWriteTest by multiContextSuite { class Target( val name: String, diff --git a/dsl/src/commonTest/kotlin/command/CountTest.kt b/dsl/src/commonTest/kotlin/command/CountTest.kt index 7e7bfcf3..24d66d11 100644 --- a/dsl/src/commonTest/kotlin/command/CountTest.kt +++ b/dsl/src/commonTest/kotlin/command/CountTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ package opensavvy.ktmongo.dsl.command +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.testContext import kotlin.time.Duration.Companion.minutes -val CountTest by preparedSuite { +val CountTest by multiContextSuite { class Target( val user: String, diff --git a/dsl/src/commonTest/kotlin/command/DeleteTest.kt b/dsl/src/commonTest/kotlin/command/DeleteTest.kt index 7f159404..cda10abe 100644 --- a/dsl/src/commonTest/kotlin/command/DeleteTest.kt +++ b/dsl/src/commonTest/kotlin/command/DeleteTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,11 +16,11 @@ package opensavvy.ktmongo.dsl.command +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.testContext -val DeleteTest by preparedSuite { +val DeleteTest by multiContextSuite { class Target( val user: String, diff --git a/dsl/src/commonTest/kotlin/command/DropTest.kt b/dsl/src/commonTest/kotlin/command/DropTest.kt index 0b255fb9..6b45432d 100644 --- a/dsl/src/commonTest/kotlin/command/DropTest.kt +++ b/dsl/src/commonTest/kotlin/command/DropTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ package opensavvy.ktmongo.dsl.command +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.options.WriteConcern import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.testContext -val DropTest by preparedSuite { +val DropTest by multiContextSuite { class Target( val user: String, diff --git a/dsl/src/commonTest/kotlin/command/FindTest.kt b/dsl/src/commonTest/kotlin/command/FindTest.kt index 5f14cee1..41389143 100644 --- a/dsl/src/commonTest/kotlin/command/FindTest.kt +++ b/dsl/src/commonTest/kotlin/command/FindTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ package opensavvy.ktmongo.dsl.command +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.testContext import kotlin.time.Duration.Companion.minutes -val FindTest by preparedSuite { +val FindTest by multiContextSuite { class Target( val user: String, diff --git a/dsl/src/commonTest/kotlin/command/InsertTest.kt b/dsl/src/commonTest/kotlin/command/InsertTest.kt index ffbbf7e6..1e0050b9 100644 --- a/dsl/src/commonTest/kotlin/command/InsertTest.kt +++ b/dsl/src/commonTest/kotlin/command/InsertTest.kt @@ -18,22 +18,23 @@ package opensavvy.ktmongo.dsl.command +import opensavvy.ktmongo.bson.BsonDocument import opensavvy.ktmongo.dsl.LowLevelApi +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.options.WriteConcern import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.testContext import kotlin.reflect.typeOf -val InsertTest by preparedSuite { +val InsertTest by multiContextSuite { test("insertOne") { val context = testContext() val daniel = context.buildDocument { writeString("name", "Daniel") - } as opensavvy.ktmongo.bson.official.BsonDocument + } - InsertOne(testContext(), daniel.raw, typeOf()).apply { + InsertOne(testContext(), daniel, typeOf()).apply { options.apply { writeConcern(WriteConcern.FireAndForget) } @@ -57,18 +58,18 @@ val InsertTest by preparedSuite { val daniel = context.buildDocument { writeString("name", "Daniel") - } as opensavvy.ktmongo.bson.official.BsonDocument + } val fred = context.buildDocument { writeString("name", "Fred") writeInt32("age", 24) - } as opensavvy.ktmongo.bson.official.BsonDocument + } val alice = context.buildDocument { writeString("name", "Alice") - } as opensavvy.ktmongo.bson.official.BsonDocument + } - InsertMany(testContext(), listOf(daniel.raw, fred.raw, alice.raw), typeOf()).apply { + InsertMany(testContext(), listOf(daniel, fred, alice), typeOf()).apply { options.apply { writeConcern(WriteConcern.Primary) } diff --git a/dsl/src/commonTest/kotlin/command/UpdateTest.kt b/dsl/src/commonTest/kotlin/command/UpdateTest.kt index 85fc89a0..fb642560 100644 --- a/dsl/src/commonTest/kotlin/command/UpdateTest.kt +++ b/dsl/src/commonTest/kotlin/command/UpdateTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ package opensavvy.ktmongo.dsl.command +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.options.WriteConcern import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.testContext -val UpdateTest by preparedSuite { +val UpdateTest by multiContextSuite { class Target( val user: String, diff --git a/dsl/src/commonTest/kotlin/command/UpdateWithPipelineTest.kt b/dsl/src/commonTest/kotlin/command/UpdateWithPipelineTest.kt index edacd319..e2888e79 100644 --- a/dsl/src/commonTest/kotlin/command/UpdateWithPipelineTest.kt +++ b/dsl/src/commonTest/kotlin/command/UpdateWithPipelineTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ package opensavvy.ktmongo.dsl.command +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.options.WriteConcern import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.testContext -val UpdateWithPipelineTest by preparedSuite { +val UpdateWithPipelineTest by multiContextSuite { class Target( val name: String, diff --git a/dsl/src/commonTest/kotlin/options/OptionTest.kt b/dsl/src/commonTest/kotlin/options/OptionTest.kt index d4ff070a..97eeb634 100644 --- a/dsl/src/commonTest/kotlin/options/OptionTest.kt +++ b/dsl/src/commonTest/kotlin/options/OptionTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,12 +18,12 @@ package opensavvy.ktmongo.dsl.options import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.command.CountOptions +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.testContext @LowLevelApi -val OptionTest by preparedSuite { +val OptionTest by multiContextSuite { test("Validate the system") { val countOptions = CountOptions(testContext()) diff --git a/dsl/src/commonTest/kotlin/options/SortTest.kt b/dsl/src/commonTest/kotlin/options/SortTest.kt index 57f65c7d..13a0d25d 100644 --- a/dsl/src/commonTest/kotlin/options/SortTest.kt +++ b/dsl/src/commonTest/kotlin/options/SortTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,14 +19,14 @@ package opensavvy.ktmongo.dsl.options import opensavvy.ktmongo.bson.types.ObjectId import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.command.FindOptions +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.testContext import kotlin.time.ExperimentalTime @OptIn(ExperimentalTime::class) @LowLevelApi -val SortTest by preparedSuite { +val SortTest by multiContextSuite { class Target( val _id: ObjectId, diff --git a/dsl/src/commonTest/kotlin/options/WriteConcernTest.kt b/dsl/src/commonTest/kotlin/options/WriteConcernTest.kt index bc493164..d5bcd480 100644 --- a/dsl/src/commonTest/kotlin/options/WriteConcernTest.kt +++ b/dsl/src/commonTest/kotlin/options/WriteConcernTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,13 +18,13 @@ package opensavvy.ktmongo.dsl.options import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.command.UpdateOptions +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.testContext import kotlin.time.Duration.Companion.minutes @LowLevelApi -val WriteConcernTest by preparedSuite { +val WriteConcernTest by multiContextSuite { test("Set majority acknowledgment") { val options = UpdateOptions(testContext()) diff --git a/dsl/src/commonTest/kotlin/path/BsonPathConversionsTest.kt b/dsl/src/commonTest/kotlin/path/BsonPathConversionsTest.kt index f8f0c5a4..52d61197 100644 --- a/dsl/src/commonTest/kotlin/path/BsonPathConversionsTest.kt +++ b/dsl/src/commonTest/kotlin/path/BsonPathConversionsTest.kt @@ -20,13 +20,13 @@ package opensavvy.ktmongo.dsl.path import opensavvy.ktmongo.bson.BsonPath import opensavvy.ktmongo.bson.ExperimentalBsonPathApi +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.update.Friend import opensavvy.ktmongo.dsl.query.update.User import opensavvy.ktmongo.dsl.query.update.update -import opensavvy.prepared.runner.testballoon.preparedSuite import opensavvy.prepared.suite.assertions.checkThrows -val BsonPathConversions by preparedSuite { +val BsonPathConversions by multiContextSuite { test("Simple path with fields") { val _ = update { val name = User::bestFriend / Friend::name diff --git a/dsl/src/commonTest/kotlin/path/FieldTest.kt b/dsl/src/commonTest/kotlin/path/FieldTest.kt index c8564f4a..f2cd045f 100644 --- a/dsl/src/commonTest/kotlin/path/FieldTest.kt +++ b/dsl/src/commonTest/kotlin/path/FieldTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ package opensavvy.ktmongo.dsl.path import opensavvy.ktmongo.dsl.LowLevelApi -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite import kotlin.reflect.KProperty1 -val FieldTest by preparedSuite { +val FieldTest by multiContextSuite { class Profile( val name: String, val age: Int, diff --git a/dsl/src/commonTest/kotlin/path/PathTest.kt b/dsl/src/commonTest/kotlin/path/PathTest.kt index 44363c0f..b7f8aac8 100644 --- a/dsl/src/commonTest/kotlin/path/PathTest.kt +++ b/dsl/src/commonTest/kotlin/path/PathTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ package opensavvy.ktmongo.dsl.path import opensavvy.ktmongo.dsl.LowLevelApi +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.path.PathSegment.* import opensavvy.ktmongo.dsl.path.PathSegment.Field -import opensavvy.prepared.runner.testballoon.preparedSuite @OptIn(LowLevelApi::class) -val PathTest by preparedSuite { +val PathTest by multiContextSuite { test("Root field") { check(Path("test").toString() == "test") diff --git a/dsl/src/commonTest/kotlin/query/ExpressionTestUtils.kt b/dsl/src/commonTest/kotlin/query/ExpressionTestUtils.kt index 6731aeaa..a5b46432 100644 --- a/dsl/src/commonTest/kotlin/query/ExpressionTestUtils.kt +++ b/dsl/src/commonTest/kotlin/query/ExpressionTestUtils.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,12 +16,9 @@ package opensavvy.ktmongo.dsl.query -import opensavvy.ktmongo.dsl.BsonContext import opensavvy.ktmongo.dsl.tree.BsonNode import org.intellij.lang.annotations.Language -expect fun testContext(): BsonContext - infix fun String.shouldBeBson(@Language("MongoDB-JSON") expected: String) { val expected = expected .replace("\n", "") diff --git a/dsl/src/commonTest/kotlin/query/PredicateExpressionTest.kt b/dsl/src/commonTest/kotlin/query/PredicateExpressionTest.kt index 4407202d..8de2b506 100644 --- a/dsl/src/commonTest/kotlin/query/PredicateExpressionTest.kt +++ b/dsl/src/commonTest/kotlin/query/PredicateExpressionTest.kt @@ -17,20 +17,20 @@ package opensavvy.ktmongo.dsl.query import opensavvy.ktmongo.bson.BsonType -import opensavvy.ktmongo.dsl.KtMongoDsl import opensavvy.ktmongo.dsl.LowLevelApi -import opensavvy.prepared.runner.testballoon.preparedSuite +import opensavvy.ktmongo.dsl.multiContextSuite +import opensavvy.ktmongo.dsl.testContext +import opensavvy.prepared.suite.TestDsl @OptIn(LowLevelApi::class) -@KtMongoDsl -private inline fun predicate(block: FilterQueryPredicate.() -> Unit): String = +private suspend inline fun TestDsl.predicate(block: FilterQueryPredicate.() -> Unit): String = FilterQueryPredicate(testContext()) .apply(block) .toBson() .toString() @OptIn(LowLevelApi::class) -val PredicateExpressionTest by preparedSuite { +val PredicateExpressionTest by multiContextSuite { suite($$"Operator $eq") { test("Integer") { diff --git a/dsl/src/commonTest/kotlin/query/filter/ArrayFilterTest.kt b/dsl/src/commonTest/kotlin/query/filter/ArrayFilterTest.kt index 960ab24c..f9b9ba15 100644 --- a/dsl/src/commonTest/kotlin/query/filter/ArrayFilterTest.kt +++ b/dsl/src/commonTest/kotlin/query/filter/ArrayFilterTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,10 +16,10 @@ package opensavvy.ktmongo.dsl.query.filter +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite -val ArrayFilterTest by preparedSuite { +val ArrayFilterTest by multiContextSuite { test("Test on an array element") { filter { User::grades.any eq 12 diff --git a/dsl/src/commonTest/kotlin/query/filter/BitwiseFilterTest.kt b/dsl/src/commonTest/kotlin/query/filter/BitwiseFilterTest.kt index 27b5e664..eb8d78cf 100644 --- a/dsl/src/commonTest/kotlin/query/filter/BitwiseFilterTest.kt +++ b/dsl/src/commonTest/kotlin/query/filter/BitwiseFilterTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,11 +19,11 @@ package opensavvy.ktmongo.dsl.query.filter import opensavvy.ktmongo.bson.types.ObjectId +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite import kotlin.time.ExperimentalTime -val BitwiseFilterTest by preparedSuite { +val BitwiseFilterTest by multiContextSuite { suite($$"$bitsAllClear") { test("Int mask") { diff --git a/dsl/src/commonTest/kotlin/query/filter/ComparisonFilterTest.kt b/dsl/src/commonTest/kotlin/query/filter/ComparisonFilterTest.kt index 445f0592..4c69167b 100644 --- a/dsl/src/commonTest/kotlin/query/filter/ComparisonFilterTest.kt +++ b/dsl/src/commonTest/kotlin/query/filter/ComparisonFilterTest.kt @@ -16,10 +16,10 @@ package opensavvy.ktmongo.dsl.query.filter +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite -val ComparisonFilterTest by preparedSuite { +val ComparisonFilterTest by multiContextSuite { suite($$"Operator $eq") { test("Integer") { diff --git a/dsl/src/commonTest/kotlin/query/filter/ElementQueryFilterTest.kt b/dsl/src/commonTest/kotlin/query/filter/ElementQueryFilterTest.kt index 374a6477..13eb2426 100644 --- a/dsl/src/commonTest/kotlin/query/filter/ElementQueryFilterTest.kt +++ b/dsl/src/commonTest/kotlin/query/filter/ElementQueryFilterTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ package opensavvy.ktmongo.dsl.query.filter import opensavvy.ktmongo.bson.BsonType +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite -val ElementQueryFilterTest by preparedSuite { +val ElementQueryFilterTest by multiContextSuite { suite($$"Operator $exists") { test("Exists") { diff --git a/dsl/src/commonTest/kotlin/query/filter/ExprFilterTest.kt b/dsl/src/commonTest/kotlin/query/filter/ExprFilterTest.kt index 7eddd403..79491e55 100644 --- a/dsl/src/commonTest/kotlin/query/filter/ExprFilterTest.kt +++ b/dsl/src/commonTest/kotlin/query/filter/ExprFilterTest.kt @@ -16,10 +16,10 @@ package opensavvy.ktmongo.dsl.query.filter +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite -val ExprFilterTest by preparedSuite { +val ExprFilterTest by multiContextSuite { test("Reading a field") { filter { expr { diff --git a/dsl/src/commonTest/kotlin/query/filter/FilterUtils.kt b/dsl/src/commonTest/kotlin/query/filter/FilterUtils.kt index 52d38849..5102735c 100644 --- a/dsl/src/commonTest/kotlin/query/filter/FilterUtils.kt +++ b/dsl/src/commonTest/kotlin/query/filter/FilterUtils.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,11 +16,12 @@ package opensavvy.ktmongo.dsl.query.filter +import opensavvy.ktmongo.bson.types.ObjectId import opensavvy.ktmongo.dsl.KtMongoDsl import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.query.FilterQuery -import opensavvy.ktmongo.dsl.query.testContext -import org.bson.types.ObjectId +import opensavvy.ktmongo.dsl.testContext +import opensavvy.prepared.suite.TestDsl class Pet( val name: String, @@ -38,5 +39,5 @@ class User( @OptIn(LowLevelApi::class) @KtMongoDsl -fun filter(block: FilterQuery.() -> Unit): String = +suspend fun TestDsl.filter(block: FilterQuery.() -> Unit): String = FilterQuery(testContext()).apply(block).toString() diff --git a/dsl/src/commonTest/kotlin/query/filter/LogicalFilterTest.kt b/dsl/src/commonTest/kotlin/query/filter/LogicalFilterTest.kt index eec84f2a..e144ca6d 100644 --- a/dsl/src/commonTest/kotlin/query/filter/LogicalFilterTest.kt +++ b/dsl/src/commonTest/kotlin/query/filter/LogicalFilterTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,16 @@ * limitations under the License. */ +@file:OptIn(ExperimentalTime::class) + package opensavvy.ktmongo.dsl.query.filter +import opensavvy.ktmongo.bson.types.ObjectId +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite -import org.bson.types.ObjectId +import kotlin.time.ExperimentalTime -val LogicalFilterTest by preparedSuite { +val LogicalFilterTest by multiContextSuite { suite($$"Operators $and, $or, and $nor") { test("And") { filter { diff --git a/dsl/src/commonTest/kotlin/query/filter/RegexTest.kt b/dsl/src/commonTest/kotlin/query/filter/RegexTest.kt index 352edd86..211b61d0 100644 --- a/dsl/src/commonTest/kotlin/query/filter/RegexTest.kt +++ b/dsl/src/commonTest/kotlin/query/filter/RegexTest.kt @@ -16,8 +16,8 @@ package opensavvy.ktmongo.dsl.query.filter +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite /** * The examples [in the documentation](https://www.mongodb.com/docs/manual/reference/operator/query/regex/) use syntax: @@ -58,7 +58,7 @@ import opensavvy.prepared.runner.testballoon.preparedSuite * However, this is misleading because it looks like a nested object, when it isn't, it's the JSON representation of the native type. * Copy-pasting this JSON request into a MongoDB editor will not work. */ -val RegexTest by preparedSuite { +val RegexTest by multiContextSuite { suite("Regex") { test("Basic usage") { filter { diff --git a/dsl/src/commonTest/kotlin/query/update/FieldUpdateTest.kt b/dsl/src/commonTest/kotlin/query/update/FieldUpdateTest.kt index b20538f4..e15ee044 100644 --- a/dsl/src/commonTest/kotlin/query/update/FieldUpdateTest.kt +++ b/dsl/src/commonTest/kotlin/query/update/FieldUpdateTest.kt @@ -18,11 +18,11 @@ package opensavvy.ktmongo.dsl.query.update +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.prepared.runner.testballoon.preparedSuite import kotlin.time.ExperimentalTime -val FieldUpdateTest by preparedSuite { +val FieldUpdateTest by multiContextSuite { suite($$"Operator $set") { test("Single field") { update { diff --git a/dsl/src/commonTest/kotlin/query/update/UpdateUtils.kt b/dsl/src/commonTest/kotlin/query/update/UpdateUtils.kt index c8d24858..f4c4e02e 100644 --- a/dsl/src/commonTest/kotlin/query/update/UpdateUtils.kt +++ b/dsl/src/commonTest/kotlin/query/update/UpdateUtils.kt @@ -19,15 +19,16 @@ package opensavvy.ktmongo.dsl.query.update import kotlinx.serialization.Serializable +import opensavvy.ktmongo.bson.types.ObjectId import opensavvy.ktmongo.bson.types.Timestamp import opensavvy.ktmongo.dsl.KtMongoDsl import opensavvy.ktmongo.dsl.LowLevelApi +import opensavvy.ktmongo.dsl.multiContextSuite import opensavvy.ktmongo.dsl.query.UpdateQuery import opensavvy.ktmongo.dsl.query.UpsertQuery import opensavvy.ktmongo.dsl.query.shouldBeBson -import opensavvy.ktmongo.dsl.query.testContext -import opensavvy.prepared.runner.testballoon.preparedSuite -import org.bson.types.ObjectId +import opensavvy.ktmongo.dsl.testContext +import opensavvy.prepared.suite.TestDsl import kotlin.time.ExperimentalTime import kotlin.time.Instant @@ -53,15 +54,15 @@ class User( @OptIn(LowLevelApi::class) @KtMongoDsl -fun update(block: UpdateQuery.() -> Unit): String = +suspend fun TestDsl.update(block: UpdateQuery.() -> Unit): String = UpdateQuery(testContext()).apply(block).toString() @OptIn(LowLevelApi::class) @KtMongoDsl -fun upsert(block: UpsertQuery.() -> Unit): String = +suspend fun TestDsl.upsert(block: UpsertQuery.() -> Unit): String = UpsertQuery(testContext()).apply(block).toString() -val EmptyUpdateTest by preparedSuite { +val EmptyUpdateTest by multiContextSuite { test("Empty update") { update { } shouldBeBson "{}" } diff --git a/dsl/src/jvmTest/kotlin/query/ExpressionTestUtils.jvm.kt b/dsl/src/jvmTest/kotlin/MultiContext.jvm.kt similarity index 77% rename from dsl/src/jvmTest/kotlin/query/ExpressionTestUtils.jvm.kt rename to dsl/src/jvmTest/kotlin/MultiContext.jvm.kt index 0ac1804a..910cfdb7 100644 --- a/dsl/src/jvmTest/kotlin/query/ExpressionTestUtils.jvm.kt +++ b/dsl/src/jvmTest/kotlin/MultiContext.jvm.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2026, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,26 +14,20 @@ * limitations under the License. */ -package opensavvy.ktmongo.dsl.query +package opensavvy.ktmongo.dsl -import opensavvy.ktmongo.bson.official.BsonFactory -import opensavvy.ktmongo.dsl.BsonContext +import opensavvy.ktmongo.bson.BsonFactory import org.bson.codecs.* import org.bson.codecs.configuration.CodecRegistries import org.bson.codecs.jsr310.InstantCodec import org.bson.codecs.jsr310.LocalDateCodec import org.bson.codecs.jsr310.LocalDateTimeCodec import org.bson.codecs.jsr310.LocalTimeCodec -import org.bson.codecs.kotlin.DataClassCodecProvider -import kotlin.concurrent.atomics.ExperimentalAtomicApi -import kotlin.time.ExperimentalTime -@OptIn(ExperimentalAtomicApi::class, ExperimentalTime::class) -actual fun testContext(): BsonContext = BsonContext( - bsonFactory = BsonFactory( - codecRegistry = CodecRegistries.fromProviders( - DataClassCodecProvider(), - CodecRegistries.fromCodecs( +actual val testFactories: Map BsonFactory> = mapOf( + "JVM Official" to { + opensavvy.ktmongo.bson.official.BsonFactory( + codecRegistry = CodecRegistries.fromCodecs( AtomicBooleanCodec(), AtomicIntegerCodec(), AtomicLongCodec(), @@ -89,5 +83,5 @@ actual fun testContext(): BsonContext = BsonContext( UuidCodec(), ) ) - ) + }, ) diff --git a/dsl/src/jvmTest/kotlin/Marker.kt b/dsl/src/nativeTest/kotlin/MultiContext.native.kt similarity index 69% rename from dsl/src/jvmTest/kotlin/Marker.kt rename to dsl/src/nativeTest/kotlin/MultiContext.native.kt index 78149a84..03cbd0af 100644 --- a/dsl/src/jvmTest/kotlin/Marker.kt +++ b/dsl/src/nativeTest/kotlin/MultiContext.native.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,3 +15,8 @@ */ package opensavvy.ktmongo.dsl + +import opensavvy.ktmongo.bson.BsonFactory + +// TODO: For now, we don't have any implementations for this platform, so no tests run +actual val testFactories: Map BsonFactory> = emptyMap() diff --git a/dsl/src/wasmWasiTest/kotlin/MultiContext.wasmWasi.kt b/dsl/src/wasmWasiTest/kotlin/MultiContext.wasmWasi.kt new file mode 100644 index 00000000..03cbd0af --- /dev/null +++ b/dsl/src/wasmWasiTest/kotlin/MultiContext.wasmWasi.kt @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2025-2026, OpenSavvy and contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package opensavvy.ktmongo.dsl + +import opensavvy.ktmongo.bson.BsonFactory + +// TODO: For now, we don't have any implementations for this platform, so no tests run +actual val testFactories: Map BsonFactory> = emptyMap() diff --git a/dsl/src/webTest/kotlin/MultiContext.web.kt b/dsl/src/webTest/kotlin/MultiContext.web.kt new file mode 100644 index 00000000..03cbd0af --- /dev/null +++ b/dsl/src/webTest/kotlin/MultiContext.web.kt @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2025-2026, OpenSavvy and contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package opensavvy.ktmongo.dsl + +import opensavvy.ktmongo.bson.BsonFactory + +// TODO: For now, we don't have any implementations for this platform, so no tests run +actual val testFactories: Map BsonFactory> = emptyMap() -- 2.51.2 From ae1f42c9576c5d9c37dc50246bf4e22fe1c8d1b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Tue, 5 May 2026 19:46:06 +0200 Subject: [PATCH 03/15] test(dsl): Test the JVM official implementation with and without reflection --- dsl/build.gradle.kts | 5 + dsl/src/jvmTest/kotlin/MultiContext.jvm.kt | 107 +++++++++------------ 2 files changed, 53 insertions(+), 59 deletions(-) diff --git a/dsl/build.gradle.kts b/dsl/build.gradle.kts index e156b3c9..e4cab7f9 100644 --- a/dsl/build.gradle.kts +++ b/dsl/build.gradle.kts @@ -70,7 +70,12 @@ kotlin { } sourceSets.jvmTest.dependencies { + // Test the official driver with or without reflection implementation(projects.bsonOfficial) + implementation(libs.mongodb.sync.jvm) + implementation(libs.mongodb.kotlinx.serialization) + implementation(libs.mongodb.kotlin.reflection) + implementation(libs.kotlinx.serialization) } } diff --git a/dsl/src/jvmTest/kotlin/MultiContext.jvm.kt b/dsl/src/jvmTest/kotlin/MultiContext.jvm.kt index 910cfdb7..3e6d5bfe 100644 --- a/dsl/src/jvmTest/kotlin/MultiContext.jvm.kt +++ b/dsl/src/jvmTest/kotlin/MultiContext.jvm.kt @@ -16,71 +16,60 @@ package opensavvy.ktmongo.dsl +import com.mongodb.* +import com.mongodb.client.gridfs.codecs.GridFSFileCodecProvider +import com.mongodb.client.model.geojson.codecs.GeoJsonCodecProvider +import com.mongodb.client.model.mql.ExpressionCodecProvider import opensavvy.ktmongo.bson.BsonFactory import org.bson.codecs.* import org.bson.codecs.configuration.CodecRegistries -import org.bson.codecs.jsr310.InstantCodec -import org.bson.codecs.jsr310.LocalDateCodec -import org.bson.codecs.jsr310.LocalDateTimeCodec -import org.bson.codecs.jsr310.LocalTimeCodec +import org.bson.codecs.jsr310.Jsr310CodecProvider +import org.bson.codecs.kotlin.ArrayCodecProvider +import org.bson.codecs.kotlin.DataClassCodecProvider +import org.bson.codecs.kotlinx.KotlinSerializerCodecProvider + +/** + * Default codec providers copied from [com.mongodb.MongoClientSettings.getDefaultCodecRegistry], + * but with the [KotlinCodecProvider] removed. + * + * Should not be used directly. See [testFactories]. + */ +private val defaultCodecProvidersWithoutKotlin = CodecRegistries.fromProviders( + ValueCodecProvider(), + BsonValueCodecProvider(), + DBRefCodecProvider(), + DBObjectCodecProvider(), + DocumentCodecProvider(DocumentToDBRefTransformer()), + CollectionCodecProvider(DocumentToDBRefTransformer()), + IterableCodecProvider(DocumentToDBRefTransformer()), + MapCodecProvider(DocumentToDBRefTransformer()), + GeoJsonCodecProvider(), + GridFSFileCodecProvider(), + Jsr310CodecProvider(), + JsonObjectCodecProvider(), + BsonCodecProvider(), + ExpressionCodecProvider(), + Jep395RecordCodecProvider(), + // KotlinCodecProvider(), // Do NOT include the KotlinCodecProvider! It uses classpath scanning to choose a serialization library, but we want to control it + EnumCodecProvider() +) actual val testFactories: Map BsonFactory> = mapOf( - "JVM Official" to { + "JVM Official, reflection-based" to { + opensavvy.ktmongo.bson.official.BsonFactory( + codecRegistry = CodecRegistries.fromProviders( + ArrayCodecProvider(), + DataClassCodecProvider(), + defaultCodecProvidersWithoutKotlin, + ) + ) + }, + + "JVM Official, serialization-based" to { opensavvy.ktmongo.bson.official.BsonFactory( - codecRegistry = CodecRegistries.fromCodecs( - AtomicBooleanCodec(), - AtomicIntegerCodec(), - AtomicLongCodec(), - BigDecimalCodec(), - BinaryCodec(), - BooleanCodec(), - BsonArrayCodec(), - BsonBinaryCodec(), - BsonBooleanCodec(), - BsonDateTimeCodec(), - BsonDBPointerCodec(), - BsonDecimal128Codec(), - BsonDocumentCodec(), - BsonDoubleCodec(), - BsonInt32Codec(), - BsonInt64Codec(), - BsonJavaScriptCodec(), - BsonMaxKeyCodec(), - BsonMinKeyCodec(), - BsonNullCodec(), - BsonObjectIdCodec(), - BsonRegularExpressionCodec(), - BsonStringCodec(), - BsonSymbolCodec(), - BsonTimestampCodec(), - BsonUndefinedCodec(), - BsonValueCodec(), - ByteArrayCodec(), - ByteCodec(), - CharacterCodec(), - CodeCodec(), - DateCodec(), - Decimal128Codec(), - DocumentCodec(), - DoubleCodec(), - FloatCodec(), - InstantCodec(), - IntegerCodec(), - JsonObjectCodec(), - LocalDateCodec(), - LocalDateTimeCodec(), - LocalTimeCodec(), - LongCodec(), - MaxKeyCodec(), - MinKeyCodec(), - ObjectIdCodec(), - OverridableUuidRepresentationUuidCodec(), - PatternCodec(), - RawBsonDocumentCodec(), - ShortCodec(), - StringCodec(), - SymbolCodec(), - UuidCodec(), + codecRegistry = CodecRegistries.fromProviders( + KotlinSerializerCodecProvider(), + defaultCodecProvidersWithoutKotlin, ) ) }, -- 2.51.2 From e1376baab6a957876b31920fa8a82349ae168bd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Tue, 24 Feb 2026 21:22:01 +0100 Subject: [PATCH 04/15] test(dsl): Execute all tests with both the official JVM driver and the Multiplatform implementation --- dsl/build.gradle.kts | 3 +-- dsl/src/jvmTest/kotlin/MultiContext.jvm.kt | 4 ++++ dsl/src/nativeTest/kotlin/MultiContext.native.kt | 5 +++-- dsl/src/wasmWasiTest/kotlin/MultiContext.wasmWasi.kt | 5 +++-- dsl/src/webTest/kotlin/MultiContext.web.kt | 5 +++-- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/dsl/build.gradle.kts b/dsl/build.gradle.kts index e4cab7f9..b73c1ba4 100644 --- a/dsl/build.gradle.kts +++ b/dsl/build.gradle.kts @@ -65,8 +65,7 @@ kotlin { implementation(libsCommon.opensavvy.prepared.testBalloon) implementation(libsCommon.kotest.assertions) implementation(libsCommon.kotlin.test) - implementation(libs.kotlinx.serialization) - implementation(libs.mongodb.kotlin.reflection) + implementation(projects.bsonMultiplatform) } sourceSets.jvmTest.dependencies { diff --git a/dsl/src/jvmTest/kotlin/MultiContext.jvm.kt b/dsl/src/jvmTest/kotlin/MultiContext.jvm.kt index 3e6d5bfe..d02dc1a1 100644 --- a/dsl/src/jvmTest/kotlin/MultiContext.jvm.kt +++ b/dsl/src/jvmTest/kotlin/MultiContext.jvm.kt @@ -73,4 +73,8 @@ actual val testFactories: Map BsonFactory> = mapOf( ) ) }, + + "Multiplatform" to { + opensavvy.ktmongo.bson.multiplatform.BsonFactory() + }, ) diff --git a/dsl/src/nativeTest/kotlin/MultiContext.native.kt b/dsl/src/nativeTest/kotlin/MultiContext.native.kt index 03cbd0af..dd204c0f 100644 --- a/dsl/src/nativeTest/kotlin/MultiContext.native.kt +++ b/dsl/src/nativeTest/kotlin/MultiContext.native.kt @@ -18,5 +18,6 @@ package opensavvy.ktmongo.dsl import opensavvy.ktmongo.bson.BsonFactory -// TODO: For now, we don't have any implementations for this platform, so no tests run -actual val testFactories: Map BsonFactory> = emptyMap() +actual val testFactories: Map BsonFactory> = mapOf( + "Multiplatform" to { opensavvy.ktmongo.bson.multiplatform.BsonFactory() }, +) diff --git a/dsl/src/wasmWasiTest/kotlin/MultiContext.wasmWasi.kt b/dsl/src/wasmWasiTest/kotlin/MultiContext.wasmWasi.kt index 03cbd0af..dd204c0f 100644 --- a/dsl/src/wasmWasiTest/kotlin/MultiContext.wasmWasi.kt +++ b/dsl/src/wasmWasiTest/kotlin/MultiContext.wasmWasi.kt @@ -18,5 +18,6 @@ package opensavvy.ktmongo.dsl import opensavvy.ktmongo.bson.BsonFactory -// TODO: For now, we don't have any implementations for this platform, so no tests run -actual val testFactories: Map BsonFactory> = emptyMap() +actual val testFactories: Map BsonFactory> = mapOf( + "Multiplatform" to { opensavvy.ktmongo.bson.multiplatform.BsonFactory() }, +) diff --git a/dsl/src/webTest/kotlin/MultiContext.web.kt b/dsl/src/webTest/kotlin/MultiContext.web.kt index 03cbd0af..dd204c0f 100644 --- a/dsl/src/webTest/kotlin/MultiContext.web.kt +++ b/dsl/src/webTest/kotlin/MultiContext.web.kt @@ -18,5 +18,6 @@ package opensavvy.ktmongo.dsl import opensavvy.ktmongo.bson.BsonFactory -// TODO: For now, we don't have any implementations for this platform, so no tests run -actual val testFactories: Map BsonFactory> = emptyMap() +actual val testFactories: Map BsonFactory> = mapOf( + "Multiplatform" to { opensavvy.ktmongo.bson.multiplatform.BsonFactory() }, +) -- 2.51.2 From 71b49767933213513e08a9453831e612d96bf049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Tue, 5 May 2026 21:00:59 +0200 Subject: [PATCH 05/15] fix(bson-multiplatform): Correctly escape special characters when rendering in JSON --- .../src/commonMain/kotlin/BsonValue.kt | 8 ++-- .../kotlin/impl/read/JsonEncoding.kt | 47 +++++++++++++++++++ .../impl/read/MultiplatformBsonDocumentMap.kt | 2 +- .../src/commonMain/kotlin/types/StringTest.kt | 27 +++++++++-- 4 files changed, 76 insertions(+), 8 deletions(-) create mode 100644 bson-multiplatform/src/commonMain/kotlin/impl/read/JsonEncoding.kt diff --git a/bson-multiplatform/src/commonMain/kotlin/BsonValue.kt b/bson-multiplatform/src/commonMain/kotlin/BsonValue.kt index 6f80a6d0..1697f572 100644 --- a/bson-multiplatform/src/commonMain/kotlin/BsonValue.kt +++ b/bson-multiplatform/src/commonMain/kotlin/BsonValue.kt @@ -28,6 +28,8 @@ import opensavvy.ktmongo.bson.* import opensavvy.ktmongo.bson.BsonArray import opensavvy.ktmongo.bson.BsonValue import opensavvy.ktmongo.bson.multiplatform.BsonValue.Serializer +import opensavvy.ktmongo.bson.multiplatform.impl.read.encodeRegexToJsonString +import opensavvy.ktmongo.bson.multiplatform.impl.read.encodeToJsonString import opensavvy.ktmongo.bson.multiplatform.serialization.BsonDecoder import opensavvy.ktmongo.bson.types.ObjectId import opensavvy.ktmongo.bson.types.Timestamp @@ -242,12 +244,12 @@ class BsonValue internal constructor( BsonType.Int32 -> decodeInt32().toString() BsonType.Int64 -> decodeInt64().toString() BsonType.Double -> commonDoubleToString(decodeDouble()) - BsonType.String -> '"' + decodeString() + '"' + BsonType.String -> '"' + decodeString().encodeToJsonString() + '"' BsonType.Null -> "null" BsonType.Undefined -> """{"${'$'}undefined": true}""" BsonType.Document -> decodeDocument().toString() BsonType.Array -> decodeArray().toString() - BsonType.JavaScript -> """{"${'$'}code": "${decodeJavaScript()}"}""" + BsonType.JavaScript -> """{"${'$'}code": "${decodeJavaScript().encodeToJsonString()}"}""" BsonType.Datetime -> { val time = decodeDateTime() if (time in 0..253402300799999) // Start of the year 1970 … End of the year 9999 @@ -273,7 +275,7 @@ class BsonValue internal constructor( val escapedPattern = pattern .replace("\\", "\\\\") .replace("\"", "\\\"") - """{"${'$'}regularExpression": {"pattern": "$escapedPattern", "options": "$options"}}""" + """{"${'$'}regularExpression": {"pattern": "${escapedPattern.encodeRegexToJsonString()}", "options": "${options.encodeToJsonString()}"}}""" } BsonType.Timestamp -> { diff --git a/bson-multiplatform/src/commonMain/kotlin/impl/read/JsonEncoding.kt b/bson-multiplatform/src/commonMain/kotlin/impl/read/JsonEncoding.kt new file mode 100644 index 00000000..9116c195 --- /dev/null +++ b/bson-multiplatform/src/commonMain/kotlin/impl/read/JsonEncoding.kt @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2026, OpenSavvy and contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package opensavvy.ktmongo.bson.multiplatform.impl.read + +internal fun String.encodeToJsonString(): String = buildString { + for (c in this@encodeToJsonString) { + when (c) { + '"' -> append("\\\"") + '\\' -> append("\\\\") + '\b' -> append("\\b") + '\t' -> append("\\t") + '\n' -> append("\\n") + ' ' -> append("\\f") + '\r' -> append("\\r") + else if (c.code < 0x20) -> append("\\u" + c.code.toString(16).padStart(4, '0')) + else -> append(c) + } + } +} + +internal fun String.encodeRegexToJsonString(): String = buildString { + for (c in this@encodeRegexToJsonString) { + when (c) { + '\b' -> append("\\b") + '\t' -> append("\\t") + '\n' -> append("\\n") + ' ' -> append("\\f") + '\r' -> append("\\r") + else if (c.code < 0x20) -> append("\\u" + c.code.toString(16).padStart(4, '0')) + else -> append(c) + } + } +} diff --git a/bson-multiplatform/src/commonMain/kotlin/impl/read/MultiplatformBsonDocumentMap.kt b/bson-multiplatform/src/commonMain/kotlin/impl/read/MultiplatformBsonDocumentMap.kt index 3081b07a..5d1baf42 100644 --- a/bson-multiplatform/src/commonMain/kotlin/impl/read/MultiplatformBsonDocumentMap.kt +++ b/bson-multiplatform/src/commonMain/kotlin/impl/read/MultiplatformBsonDocumentMap.kt @@ -223,7 +223,7 @@ internal class MultiplatformBsonDocumentMap( append(", ") append('"') - append(key) + append(key.encodeToJsonString()) append("\": ") append(value) diff --git a/bson-tests/src/commonMain/kotlin/types/StringTest.kt b/bson-tests/src/commonMain/kotlin/types/StringTest.kt index e781c01d..8d888d2c 100644 --- a/bson-tests/src/commonMain/kotlin/types/StringTest.kt +++ b/bson-tests/src/commonMain/kotlin/types/StringTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -121,16 +121,35 @@ fun SuiteDsl.verifyStrings(factory: Prepared) = suite("String") { } ) + val specialCharacters = "ab\\\"\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\u000c\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001fab" + + val escapedJson = buildString { + for (c in specialCharacters) { + when (c) { + '"' -> append("\\\"") + '\\' -> append("\\\\") + '\b' -> append("\\b") + '\t' -> append("\\t") + '\n' -> append("\\n") + ' ' -> append("\\f") + '\r' -> append("\\r") + else if (c.code < 0x20) -> append("\\u" + c.code.toString(16).padStart(4, '0')) + else -> append(c) + } + } + } + testBson( factory, "Required escapes", document { - writeString("a", "ab\\\"\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\u000c\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001fab") + writeString("a", specialCharacters) }, - serialize(A("ab\\\"\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\u000c\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001fab")), + serialize(A(specialCharacters)), hex("320000000261002600000061625C220102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F61620000"), + json("{\"a\": \"$escapedJson\"}"), verify("Read value") { - check(this["a"]?.decodeString() == "ab\\\"\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\u000c\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001fab") + check(this["a"]?.decodeString() == specialCharacters) } ) } -- 2.51.2 From c6d0b59f8d5acb002dd0281b1603195fbba9def3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Tue, 5 May 2026 21:13:12 +0200 Subject: [PATCH 06/15] test(dsl): Avoid writing to the same field twice --- dsl/src/commonTest/kotlin/aggregation/stages/SetTest.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dsl/src/commonTest/kotlin/aggregation/stages/SetTest.kt b/dsl/src/commonTest/kotlin/aggregation/stages/SetTest.kt index 760d1d16..cfb82298 100644 --- a/dsl/src/commonTest/kotlin/aggregation/stages/SetTest.kt +++ b/dsl/src/commonTest/kotlin/aggregation/stages/SetTest.kt @@ -109,7 +109,6 @@ val SetTest by multiContextSuite { TestPipeline() .set { Target::deathDate.setIf(true, 12) - Target::deathDate.setIf(false, 13) } .shouldBeBson($$""" [ @@ -118,10 +117,10 @@ val SetTest by multiContextSuite { "deathDate": { "$cond": { "if": { - "$literal": false + "$literal": true }, "then": { - "$literal": 13 + "$literal": 12 }, "else": "$deathDate" } @@ -135,7 +134,6 @@ val SetTest by multiContextSuite { test("Boolean condition and Kotlin values") { TestPipeline() .set { - Target::deathDate.setIf(true, 12) Target::deathDate.setIf(false, 13) } .shouldBeBson($$""" -- 2.51.2 From 2d4066fb8d119039a0f4f96b3706b2120e86e5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Tue, 5 May 2026 22:16:06 +0200 Subject: [PATCH 07/15] refactor(bson-multiplatform): Code simplification --- bson-multiplatform/src/commonMain/kotlin/Bytes.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bson-multiplatform/src/commonMain/kotlin/Bytes.kt b/bson-multiplatform/src/commonMain/kotlin/Bytes.kt index 0af727b3..a89e2aba 100644 --- a/bson-multiplatform/src/commonMain/kotlin/Bytes.kt +++ b/bson-multiplatform/src/commonMain/kotlin/Bytes.kt @@ -27,7 +27,7 @@ internal class Bytes( private val range: IntRange, ) { - constructor(data: ByteArray) : this(data, 0..data.lastIndex) + constructor(data: ByteArray) : this(data, data.indices) val size get() = range.last - range.first + 1 -- 2.51.2 From 8d192d176fc0209e6b6b9fd26a81c1f9e70acd80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Tue, 5 May 2026 22:18:56 +0200 Subject: [PATCH 08/15] fix(dsl): Fix incorrect nesting in $not operator --- .../src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt | 2 +- dsl/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dsl-template/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt b/dsl-template/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt index f5a69e6a..28d496d8 100644 --- a/dsl-template/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt +++ b/dsl-template/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt @@ -162,7 +162,7 @@ private class FilterQueryPredicateImpl( override fun write(writer: BsonFieldWriter) { writer.writeDocument("\$not") { - expression.writeTo(writer) + expression.writeTo(this) } } } diff --git a/dsl/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt b/dsl/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt index 0bbbd7d8..e37ba7c6 100644 --- a/dsl/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt +++ b/dsl/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt @@ -165,7 +165,7 @@ private class FilterQueryPredicateImpl( override fun write(writer: BsonFieldWriter) { writer.writeDocument("\$not") { - expression.writeTo(writer) + expression.writeTo(this) } } } -- 2.51.2 From 62d9c3e7f3cc4deae4a25196bddd64868c5cc960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Tue, 5 May 2026 22:56:54 +0200 Subject: [PATCH 09/15] feat(bson): Unify the error message in case of a corrupted document --- bson-multiplatform/src/commonMain/kotlin/Bytes.kt | 4 ++-- .../impl/read/MultiplatformBsonDocumentMap.kt | 7 ++++++- bson-official/src/jvmMain/kotlin/BsonFactory.jvm.kt | 13 +++++++++---- .../src/commonMain/kotlin/BsonDocumentTests.kt | 10 ++++++++++ 4 files changed, 27 insertions(+), 7 deletions(-) diff --git a/bson-multiplatform/src/commonMain/kotlin/Bytes.kt b/bson-multiplatform/src/commonMain/kotlin/Bytes.kt index a89e2aba..49d4cdd8 100644 --- a/bson-multiplatform/src/commonMain/kotlin/Bytes.kt +++ b/bson-multiplatform/src/commonMain/kotlin/Bytes.kt @@ -47,8 +47,8 @@ internal class Bytes( val reader: RawBsonReader get() = RawBsonReader(source) fun subrange(subrange: IntRange): Bytes { - require(subrange.first >= 0) { "Cannot create a subrange that starts at a negative index, found: $subrange" } - require(subrange.last - subrange.first < size) { "Cannot create a subrange that ends after the end of the data, there are $size bytes, found: $subrange" } + require(subrange.first >= 0) { "Cannot create a subrange that starts at a negative index, found: $subrange\n\tBytes: ${toString()}\n\tFull document size: ${data.size} bytes" } + require(subrange.last - subrange.first < size) { "Cannot create a subrange that ends after the end of the data, there are $size bytes, found: $subrange\n\tBytes: ${toString()}\n\tFull document size: ${data.size} bytes" } return Bytes(data, (range.first + subrange.first)..(range.first + subrange.last)) } diff --git a/bson-multiplatform/src/commonMain/kotlin/impl/read/MultiplatformBsonDocumentMap.kt b/bson-multiplatform/src/commonMain/kotlin/impl/read/MultiplatformBsonDocumentMap.kt index 5d1baf42..4484df6b 100644 --- a/bson-multiplatform/src/commonMain/kotlin/impl/read/MultiplatformBsonDocumentMap.kt +++ b/bson-multiplatform/src/commonMain/kotlin/impl/read/MultiplatformBsonDocumentMap.kt @@ -17,6 +17,7 @@ package opensavvy.ktmongo.bson.multiplatform.impl.read import kotlinx.io.readIntLe +import opensavvy.ktmongo.bson.BsonDecodingException import opensavvy.ktmongo.bson.BsonType import opensavvy.ktmongo.bson.multiplatform.* import opensavvy.ktmongo.dsl.LowLevelApi @@ -106,7 +107,11 @@ internal class MultiplatformBsonDocumentMap( private fun scanOne(): String { val type = BsonType.fromCode(reader.readSignedByte()) val name = reader.readCString() - val field = readField(bytes, reader, type, factory) + val field = try { + readField(bytes, reader, type, factory) + } catch (e: Exception) { + throw BsonDecodingException("Could not read field \"$name\" of type $type\n\tBytes: $bytes", e) + } scannedFields[name] = field diff --git a/bson-official/src/jvmMain/kotlin/BsonFactory.jvm.kt b/bson-official/src/jvmMain/kotlin/BsonFactory.jvm.kt index 7c7e5bb0..660aa46b 100644 --- a/bson-official/src/jvmMain/kotlin/BsonFactory.jvm.kt +++ b/bson-official/src/jvmMain/kotlin/BsonFactory.jvm.kt @@ -25,6 +25,7 @@ import opensavvy.ktmongo.bson.official.types.* import opensavvy.ktmongo.dsl.LowLevelApi import org.bson.BsonBinaryReader import org.bson.BsonDocumentWriter +import org.bson.BsonSerializationException import org.bson.codecs.Codec import org.bson.codecs.DecoderContext import org.bson.codecs.EncoderContext @@ -145,10 +146,14 @@ actual class BsonFactory( actual override fun readDocument(bytes: ByteArray): BsonDocument { val codec = codecRegistry.get(org.bson.BsonDocument::class.java) val buffer = ByteBuffer.wrap(bytes) - val document = codec.decode( - BsonBinaryReader(buffer), - DecoderContext.builder().build(), - ) + val document = try { + codec.decode( + BsonBinaryReader(buffer), + DecoderContext.builder().build(), + ) + } catch (e: BsonSerializationException) { + throw BsonDecodingException("Could not read the bytes ${bytes.toHexString()} as a BsonDocument", e) + } return readDocument(document) } diff --git a/bson-tests/src/commonMain/kotlin/BsonDocumentTests.kt b/bson-tests/src/commonMain/kotlin/BsonDocumentTests.kt index d7eefe43..5de5d753 100644 --- a/bson-tests/src/commonMain/kotlin/BsonDocumentTests.kt +++ b/bson-tests/src/commonMain/kotlin/BsonDocumentTests.kt @@ -112,6 +112,16 @@ fun SuiteDsl.verifyBsonDocuments(factory: Prepared) = suite("BSON d check(exception.message matches "Could not decode opensavvy.ktmongo.bson.BsonDocumentUser.*\n\tfrom value \\{\"a\": \"Bob\"\\}.*\n*.*") } + test("Read a corrupt document") { + checkThrows { + // This document is malformed + factory().readDocument("1b00000003246e6f7400102474797065000a000000050000000000".hexToByteArray()) + .toString() // Force full parsing (errors would otherwise be detected lazily) + } + + // The error message can be different across implementations + } + suite("Iteration") { test("Iterable") { val document = factory().buildDocument { -- 2.51.2 From 9f64fb650e3de4bc5c123fd92856ca2382c93b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Tue, 5 May 2026 23:45:33 +0200 Subject: [PATCH 10/15] feat(bson): Detect writes to a non-leaf writer --- .../write/MultiplatformDocumentFieldWriter.kt | 91 +++++++++++- .../jvmMain/kotlin/BsonDocumentWriter.jvm.kt | 133 +++++++++++++++++- .../commonMain/kotlin/BsonDocumentTests.kt | 31 ++++ bson/src/commonMain/kotlin/BsonValue.kt | 10 ++ 4 files changed, 255 insertions(+), 10 deletions(-) diff --git a/bson-multiplatform/src/commonMain/kotlin/impl/write/MultiplatformDocumentFieldWriter.kt b/bson-multiplatform/src/commonMain/kotlin/impl/write/MultiplatformDocumentFieldWriter.kt index a4f10e64..02eeaeff 100644 --- a/bson-multiplatform/src/commonMain/kotlin/impl/write/MultiplatformDocumentFieldWriter.kt +++ b/bson-multiplatform/src/commonMain/kotlin/impl/write/MultiplatformDocumentFieldWriter.kt @@ -20,10 +20,7 @@ import kotlinx.io.Buffer import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.SerializationStrategy import kotlinx.serialization.serializer -import opensavvy.ktmongo.bson.BsonFieldWriter -import opensavvy.ktmongo.bson.BsonType -import opensavvy.ktmongo.bson.BsonValueWriter -import opensavvy.ktmongo.bson.DEPRECATED_IN_BSON_SPEC +import opensavvy.ktmongo.bson.* import opensavvy.ktmongo.bson.multiplatform.BsonFactory import opensavvy.ktmongo.bson.multiplatform.BsonValue import opensavvy.ktmongo.bson.multiplatform.Bytes @@ -41,6 +38,25 @@ internal class MultiplatformDocumentFieldWriter( private val writer: RawBsonWriter, ) : BsonFieldWriter, CompletableBsonFieldWriter { + private var currentlyWritingInChild: Boolean = false + + fun verifyNesting() { + if (currentlyWritingInChild) { + throw BsonEncodingException(""" + Cannot write to an outer document while an inner document is open. + You may have written something like: + factory.buildDocument { + val outer = this + buildDocument("foo") { + outer.writeString("bar", "baz") + // ↑ Incorrect writer! Should be: + this.writeString("bar", "baz") + } + } + """.trimIndent()) + } + } + @LowLevelApi private fun writeType(type: BsonType) { writer.writeSignedByte(type.code) @@ -53,11 +69,17 @@ internal class MultiplatformDocumentFieldWriter( @LowLevelApi override fun write(name: String, block: BsonValueWriter.() -> Unit) { + verifyNesting() + + // We're opening the current document through a single-field view, we should NOT lock with currentlyWritingInChild + MultiplatformSingleFieldWriter(this, name).block() } @LowLevelApi override fun writeBoolean(name: String, value: Boolean) { + verifyNesting() + writeType(BsonType.Boolean) writeName(name) writer.writeUnsignedByte(if (value) 1u else 0u) @@ -65,6 +87,8 @@ internal class MultiplatformDocumentFieldWriter( @LowLevelApi override fun writeDouble(name: String, value: Double) { + verifyNesting() + writeType(BsonType.Double) writeName(name) writer.writeDouble(value) @@ -72,6 +96,8 @@ internal class MultiplatformDocumentFieldWriter( @LowLevelApi override fun writeInt32(name: String, value: Int) { + verifyNesting() + writeType(BsonType.Int32) writeName(name) writer.writeInt32(value) @@ -79,6 +105,8 @@ internal class MultiplatformDocumentFieldWriter( @LowLevelApi override fun writeInt64(name: String, value: Long) { + verifyNesting() + writeType(BsonType.Int64) writeName(name) writer.writeInt64(value) @@ -86,11 +114,15 @@ internal class MultiplatformDocumentFieldWriter( @LowLevelApi override fun writeDecimal128(name: String, low: Long, high: Long) { + verifyNesting() + TODO() } @LowLevelApi override fun writeDateTime(name: String, value: Long) { + verifyNesting() + writeType(BsonType.Datetime) writeName(name) writer.writeInt64(value) @@ -98,12 +130,16 @@ internal class MultiplatformDocumentFieldWriter( @LowLevelApi override fun writeNull(name: String) { + verifyNesting() + writeType(BsonType.Null) writeName(name) } @LowLevelApi override fun writeObjectId(name: String, id: ByteArray) { + verifyNesting() + writeType(BsonType.ObjectId) writeName(name) @OptIn(DangerousMongoApi::class) @@ -112,11 +148,15 @@ internal class MultiplatformDocumentFieldWriter( @LowLevelApi override fun writeObjectId(name: String, id: ObjectId) { + verifyNesting() + writeObjectId(name, id.bytes) } @LowLevelApi override fun writeRegularExpression(name: String, pattern: String, options: String) { + verifyNesting() + writeType(BsonType.RegExp) writeName(name) writer.writeCString(pattern) @@ -125,6 +165,8 @@ internal class MultiplatformDocumentFieldWriter( @LowLevelApi override fun writeString(name: String, value: String) { + verifyNesting() + writeType(BsonType.String) writeName(name) writer.writeString(value) @@ -132,6 +174,8 @@ internal class MultiplatformDocumentFieldWriter( @LowLevelApi override fun writeTimestamp(name: String, value: Timestamp) { + verifyNesting() + writeType(BsonType.Timestamp) writeName(name) writer.writeUInt64(value.value) @@ -141,6 +185,8 @@ internal class MultiplatformDocumentFieldWriter( @Deprecated(DEPRECATED_IN_BSON_SPEC) @LowLevelApi override fun writeSymbol(name: String, value: String) { + verifyNesting() + TODO() } @@ -148,6 +194,8 @@ internal class MultiplatformDocumentFieldWriter( @Deprecated(DEPRECATED_IN_BSON_SPEC) @LowLevelApi override fun writeUndefined(name: String) { + verifyNesting() + writeType(BsonType.Undefined) writeName(name) } @@ -156,6 +204,8 @@ internal class MultiplatformDocumentFieldWriter( @Deprecated(DEPRECATED_IN_BSON_SPEC) @LowLevelApi override fun writeDBPointer(name: String, namespace: String, id: ByteArray) { + verifyNesting() + TODO() } @@ -163,11 +213,15 @@ internal class MultiplatformDocumentFieldWriter( @Deprecated(DEPRECATED_IN_BSON_SPEC) @LowLevelApi override fun writeJavaScriptWithScope(name: String, code: String) { + verifyNesting() + TODO() } @LowLevelApi override fun writeBinaryData(name: String, type: UByte, data: ByteArray) { + verifyNesting() + writeType(BsonType.BinaryData) writeName(name) if (type == 2u.toUByte()) { @@ -186,6 +240,8 @@ internal class MultiplatformDocumentFieldWriter( @LowLevelApi override fun writeJavaScript(name: String, code: String) { + verifyNesting() + writeType(BsonType.JavaScript) writeName(name) writer.writeString(code) @@ -193,12 +249,16 @@ internal class MultiplatformDocumentFieldWriter( @LowLevelApi override fun writeMinKey(name: String) { + verifyNesting() + writeType(BsonType.MinKey) writeName(name) } @LowLevelApi override fun writeMaxKey(name: String) { + verifyNesting() + writeType(BsonType.MaxKey) writeName(name) } @@ -222,12 +282,16 @@ internal class MultiplatformDocumentFieldWriter( val childBuffer = Buffer() val childWriter = RawBsonWriter(childBuffer) + currentlyWritingInChild = true writeTo(MultiplatformDocumentFieldWriter(factory, childWriter)) closeArbitraryDocument(childBuffer, childWriter) + currentlyWritingInChild = false } @LowLevelApi override fun writeDocument(name: String, block: BsonFieldWriter.() -> Unit) { + verifyNesting() + writeType(BsonType.Document) writeName(name) writeArbitraryDocument(block) @@ -235,6 +299,8 @@ internal class MultiplatformDocumentFieldWriter( @LowLevelApi override fun writeArray(name: String, block: BsonValueWriter.() -> Unit) { + verifyNesting() + writeType(BsonType.Array) writeName(name) writeArbitraryDocument { @@ -258,8 +324,10 @@ internal class MultiplatformDocumentFieldWriter( val childWriter = RawBsonWriter(childBuffer) val writer = MultiplatformDocumentFieldWriter(factory, childWriter) + currentlyWritingInChild = true return object : CompletableBsonFieldWriter by writer { override fun complete() { + this@MultiplatformDocumentFieldWriter.currentlyWritingInChild = false this@MultiplatformDocumentFieldWriter.closeArbitraryDocument(childBuffer, childWriter) } } @@ -275,28 +343,39 @@ internal class MultiplatformDocumentFieldWriter( val childBuffer = Buffer() val childWriter = RawBsonWriter(childBuffer) + currentlyWritingInChild = true return object : CompletableBsonValueWriter by MultiplatformArrayFieldWriter(MultiplatformDocumentFieldWriter(factory, childWriter)) { override fun complete() { + this@MultiplatformDocumentFieldWriter.currentlyWritingInChild = false this@MultiplatformDocumentFieldWriter.closeArbitraryDocument(childBuffer, childWriter) } } } @DangerousMongoApi - override fun open(name: String): CompletableBsonValueWriter = - object : CompletableBsonValueWriter by MultiplatformSingleFieldWriter(this, name) { + override fun open(name: String): CompletableBsonValueWriter { + verifyNesting() + + // We're opening the current document through a single-field view, we should NOT lock with currentlyWritingInChild + + return object : CompletableBsonValueWriter by MultiplatformSingleFieldWriter(this, name) { override fun complete() {} // Nothing to do. This function isn't building anything; it's just an adapter to go from FieldWriter to ValueWriter. } + } @OptIn(ExperimentalSerializationApi::class, DangerousMongoApi::class) @LowLevelApi override fun writeSafe(name: String, obj: T, type: KType) { + verifyNesting() + val serializer = serializer(type) as SerializationStrategy BsonEncoder(factory, open(name)).encodeSerializableValue(serializer, obj) } @DangerousMongoApi internal fun pipe(name: String, obj: BsonValue) { + verifyNesting() + writeType(obj.type) writeName(name) obj.writeTo(writer) diff --git a/bson-official/src/jvmMain/kotlin/BsonDocumentWriter.jvm.kt b/bson-official/src/jvmMain/kotlin/BsonDocumentWriter.jvm.kt index aa90de2f..ff3a6b1b 100644 --- a/bson-official/src/jvmMain/kotlin/BsonDocumentWriter.jvm.kt +++ b/bson-official/src/jvmMain/kotlin/BsonDocumentWriter.jvm.kt @@ -16,6 +16,7 @@ package opensavvy.ktmongo.bson.official +import opensavvy.ktmongo.bson.BsonEncodingException import opensavvy.ktmongo.bson.BsonFieldWriter import opensavvy.ktmongo.bson.BsonValueWriter import opensavvy.ktmongo.bson.DEPRECATED_IN_BSON_SPEC @@ -36,184 +37,298 @@ internal class JavaBsonDocumentWriter( private val factory: BsonFactory, private val writer: BsonWriter, ) : BsonFieldWriter, BsonValueWriter { + + private var currentlyWritingInChild: JavaBsonDocumentWriter? = null + + fun verifyNesting() { + if (currentlyWritingInChild != null) { + throw BsonEncodingException(""" + Cannot write to an outer document while an inner document is open. + You may have written something like: + factory.buildDocument { + val outer = this + buildDocument("foo") { + outer.writeString("bar", "baz") + // ↑ Incorrect writer! Should be: + this.writeString("bar", "baz") + } + } + """.trimIndent()) + } + } + override fun write(name: String, block: BsonValueWriter.() -> Unit) { + verifyNesting() + writer.writeName(name) block() } override fun writeBoolean(name: String, value: Boolean) { + verifyNesting() + writer.writeBoolean(name, value) } override fun writeDouble(name: String, value: Double) { + verifyNesting() + writer.writeDouble(name, value) } override fun writeInt32(name: String, value: Int) { + verifyNesting() + writer.writeInt32(name, value) } override fun writeInt64(name: String, value: Long) { + verifyNesting() + writer.writeInt64(name, value) } override fun writeDateTime(name: String, value: Long) { + verifyNesting() + writer.writeDateTime(name, value) } override fun writeNull(name: String) { + verifyNesting() + writer.writeNull(name) } override fun writeRegularExpression(name: String, pattern: String, options: String) { + verifyNesting() + writer.writeRegularExpression(name, BsonRegularExpression(pattern, options)) } override fun writeString(name: String, value: String) { + verifyNesting() + writer.writeString(name, value) } override fun writeTimestamp(name: String, value: Timestamp) { + verifyNesting() + writer.writeTimestamp(name, value.toOfficial()) } @Deprecated(DEPRECATED_IN_BSON_SPEC) override fun writeSymbol(name: String, value: String) { + verifyNesting() + writer.writeSymbol(name, value) } @Deprecated(DEPRECATED_IN_BSON_SPEC) override fun writeUndefined(name: String) { + verifyNesting() + writer.writeUndefined(name) } @Deprecated(DEPRECATED_IN_BSON_SPEC) override fun writeJavaScriptWithScope(name: String, code: String) { + verifyNesting() + writer.writeJavaScriptWithScope(name, code) } override fun writeBinaryData(name: String, type: UByte, data: ByteArray) { + verifyNesting() + writer.writeBinaryData(name, BsonBinary(type.toByte(), data)) } override fun writeJavaScript(name: String, code: String) { + verifyNesting() + writer.writeJavaScript(name, code) } override fun writeDocument(name: String, block: BsonFieldWriter.() -> Unit) { + verifyNesting() + writer.writeStartDocument(name) - block() + val child = JavaBsonDocumentWriter(factory, writer) + currentlyWritingInChild = child + child.block() + currentlyWritingInChild = null writer.writeEndDocument() } override fun writeArray(name: String, block: BsonValueWriter.() -> Unit) { + verifyNesting() + writer.writeStartArray(name) - block() + val child = JavaBsonDocumentWriter(factory, writer) + currentlyWritingInChild = child + child.block() + currentlyWritingInChild = null writer.writeEndArray() } override fun writeSafe(name: String, obj: T, type: KType) { + verifyNesting() + writer.writeName(name) writeSafe(obj, type) } @Deprecated(DEPRECATED_IN_BSON_SPEC) override fun writeDBPointer(name: String, namespace: String, id: ByteArray) { + verifyNesting() + writer.writeDBPointer(name, BsonDbPointer(namespace, ObjectId(id))) } override fun writeObjectId(name: String, id: ByteArray) { + verifyNesting() + writer.writeObjectId(name, ObjectId(id)) } override fun writeObjectId(name: String, id: opensavvy.ktmongo.bson.types.ObjectId) { + verifyNesting() + writer.writeObjectId(name, id.toOfficial()) } override fun writeDecimal128(name: String, low: Long, high: Long) { + verifyNesting() + writer.writeDecimal128(name, Decimal128.fromIEEE754BIDEncoding(high, low)) } override fun writeMinKey(name: String) { + verifyNesting() + writer.writeMinKey(name) } override fun writeMaxKey(name: String) { + verifyNesting() + writer.writeMaxKey(name) } override fun writeBoolean(value: Boolean) { + verifyNesting() + writer.writeBoolean(value) } override fun writeDouble(value: Double) { + verifyNesting() + writer.writeDouble(value) } override fun writeInt32(value: Int) { + verifyNesting() + writer.writeInt32(value) } override fun writeInt64(value: Long) { + verifyNesting() + writer.writeInt64(value) } override fun writeDateTime(value: Long) { + verifyNesting() + writer.writeDateTime(value) } override fun writeNull() { + verifyNesting() + writer.writeNull() } override fun writeRegularExpression(pattern: String, options: String) { + verifyNesting() + writer.writeRegularExpression(BsonRegularExpression(pattern, options)) } override fun writeString(value: String) { + verifyNesting() + writer.writeString(value) } override fun writeTimestamp(value: Timestamp) { + verifyNesting() + writer.writeTimestamp(value.toOfficial()) } @Deprecated(DEPRECATED_IN_BSON_SPEC) override fun writeSymbol(value: String) { + verifyNesting() + writer.writeSymbol(value) } @Deprecated(DEPRECATED_IN_BSON_SPEC) override fun writeUndefined() { + verifyNesting() + writer.writeUndefined() } @Deprecated(DEPRECATED_IN_BSON_SPEC) override fun writeJavaScriptWithScope(code: String) { + verifyNesting() + writer.writeJavaScriptWithScope(code) } override fun writeBinaryData(type: UByte, data: ByteArray) { + verifyNesting() + writer.writeBinaryData(BsonBinary(type.toByte(), data)) } override fun writeJavaScript(code: String) { + verifyNesting() + writer.writeJavaScript(code) } override fun writeDocument(block: BsonFieldWriter.() -> Unit) { + verifyNesting() + writer.writeStartDocument() - block() + val child = JavaBsonDocumentWriter(factory, writer) + currentlyWritingInChild = child + child.block() + currentlyWritingInChild = null writer.writeEndDocument() } override fun writeArray(block: BsonValueWriter.() -> Unit) { + verifyNesting() + writer.writeStartArray() - block() + val child = JavaBsonDocumentWriter(factory, writer) + currentlyWritingInChild = child + child.block() + currentlyWritingInChild = null writer.writeEndArray() } override fun writeSafe(obj: T, type: KType) { + verifyNesting() + if (obj == null) { writer.writeNull() } else { @@ -231,22 +346,32 @@ internal class JavaBsonDocumentWriter( @Deprecated(DEPRECATED_IN_BSON_SPEC) override fun writeDBPointer(namespace: String, id: ByteArray) { + verifyNesting() + writer.writeDBPointer(BsonDbPointer(namespace, ObjectId(id))) } override fun writeObjectId(id: ByteArray) { + verifyNesting() + writer.writeObjectId(ObjectId(id)) } override fun writeDecimal128(low: Long, high: Long) { + verifyNesting() + writer.writeDecimal128(Decimal128.fromIEEE754BIDEncoding(high, low)) } override fun writeMinKey() { + verifyNesting() + writer.writeMinKey() } override fun writeMaxKey() { + verifyNesting() + writer.writeMaxKey() } } diff --git a/bson-tests/src/commonMain/kotlin/BsonDocumentTests.kt b/bson-tests/src/commonMain/kotlin/BsonDocumentTests.kt index 5de5d753..db2d4f02 100644 --- a/bson-tests/src/commonMain/kotlin/BsonDocumentTests.kt +++ b/bson-tests/src/commonMain/kotlin/BsonDocumentTests.kt @@ -25,6 +25,7 @@ import opensavvy.prepared.suite.SuiteDsl import opensavvy.prepared.suite.assertions.checkThrows import opensavvy.prepared.suite.assertions.log import opensavvy.prepared.suite.assertions.matches +import kotlin.test.assertEquals @Serializable data class BsonDocumentUser( @@ -122,6 +123,36 @@ fun SuiteDsl.verifyBsonDocuments(factory: Prepared) = suite("BSON d // The error message can be different across implementations } + test("Incorrect nesting when writing a document") { + var hasChecked = false + + val _ = factory().buildDocument { + val outer = this + + writeDocument("foo") { + val exception = checkThrows { + outer.writeString("bar", "baz") + } + + assertEquals(""" + Cannot write to an outer document while an inner document is open. + You may have written something like: + factory.buildDocument { + val outer = this + buildDocument("foo") { + outer.writeString("bar", "baz") + // ↑ Incorrect writer! Should be: + this.writeString("bar", "baz") + } + } + """.trimIndent(), exception.message) + hasChecked = true + } + } + + check(hasChecked) { "This test should never reach this code without having executed the assertion, maybe the factory uses lazy writing?" } + } + suite("Iteration") { test("Iterable") { val document = factory().buildDocument { diff --git a/bson/src/commonMain/kotlin/BsonValue.kt b/bson/src/commonMain/kotlin/BsonValue.kt index 4f530572..307cfcb5 100644 --- a/bson/src/commonMain/kotlin/BsonValue.kt +++ b/bson/src/commonMain/kotlin/BsonValue.kt @@ -554,3 +554,13 @@ class BsonDecodingException( message: String, cause: Throwable? = null, ) : IllegalStateException(message, cause) + +/** + * Exception thrown when encoding a [BsonValue] fails. + * + * This typically happens when the data is malformed one way or another. + */ +class BsonEncodingException( + message: String, + cause: Throwable? = null, +) : IllegalStateException(message, cause) -- 2.51.2 From c1023419361993e64da7dee4de414ae050bbca97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Thu, 14 May 2026 15:09:43 +0200 Subject: [PATCH 11/15] refactor(bson-multiplatform): Use the new common BsonEncodingException --- .../kotlin/serialization/Exceptions.kt | 19 ------------------- .../serialization/MultiplatformDecoder.kt | 1 + .../serialization/MultiplatformEncoder.kt | 1 + 3 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 bson-multiplatform/src/commonMain/kotlin/serialization/Exceptions.kt diff --git a/bson-multiplatform/src/commonMain/kotlin/serialization/Exceptions.kt b/bson-multiplatform/src/commonMain/kotlin/serialization/Exceptions.kt deleted file mode 100644 index 448052ee..00000000 --- a/bson-multiplatform/src/commonMain/kotlin/serialization/Exceptions.kt +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright (c) 2025, OpenSavvy and contributors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package opensavvy.ktmongo.bson.multiplatform.serialization - -class BsonEncodingException(message: String) : Exception(message) diff --git a/bson-multiplatform/src/commonMain/kotlin/serialization/MultiplatformDecoder.kt b/bson-multiplatform/src/commonMain/kotlin/serialization/MultiplatformDecoder.kt index cfa1c2be..42d48b7f 100644 --- a/bson-multiplatform/src/commonMain/kotlin/serialization/MultiplatformDecoder.kt +++ b/bson-multiplatform/src/commonMain/kotlin/serialization/MultiplatformDecoder.kt @@ -28,6 +28,7 @@ import kotlinx.serialization.encoding.CompositeDecoder import kotlinx.serialization.encoding.Decoder import kotlinx.serialization.modules.SerializersModule import opensavvy.ktmongo.bson.BsonDecodingException +import opensavvy.ktmongo.bson.BsonEncodingException import opensavvy.ktmongo.bson.BsonType import opensavvy.ktmongo.bson.multiplatform.* import opensavvy.ktmongo.bson.types.* diff --git a/bson-multiplatform/src/commonMain/kotlin/serialization/MultiplatformEncoder.kt b/bson-multiplatform/src/commonMain/kotlin/serialization/MultiplatformEncoder.kt index 9095253f..01b7ab45 100644 --- a/bson-multiplatform/src/commonMain/kotlin/serialization/MultiplatformEncoder.kt +++ b/bson-multiplatform/src/commonMain/kotlin/serialization/MultiplatformEncoder.kt @@ -26,6 +26,7 @@ import kotlinx.serialization.encoding.AbstractEncoder import kotlinx.serialization.encoding.CompositeEncoder import kotlinx.serialization.encoding.Encoder import kotlinx.serialization.modules.SerializersModule +import opensavvy.ktmongo.bson.BsonEncodingException import opensavvy.ktmongo.bson.multiplatform.BsonArray import opensavvy.ktmongo.bson.multiplatform.BsonDocument import opensavvy.ktmongo.bson.multiplatform.BsonFactory -- 2.51.2 From 5217d0a454b618bf23e8d417a87571b308d6407c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Thu, 14 May 2026 15:31:35 +0200 Subject: [PATCH 12/15] style(dsl): Add imports for @JvmName @JvmName is imported by default in KotlinJVM but not in Multiplatform. --- dsl-template/build.gradle.kts | 4 ++++ dsl-template/src/commonMain/kotlin/query/FilterQuery.kt | 1 + dsl-template/src/commonMain/kotlin/query/FilterQueryImpl.kt | 2 ++ .../src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt | 2 ++ dsl-template/src/commonMain/kotlin/query/UpdateQuery.kt | 1 + dsl-template/src/commonMain/kotlin/query/UpdateQueryImpl.kt | 2 ++ dsl/src/commonMain/kotlin/query/FilterQuery.kt | 1 + dsl/src/commonMain/kotlin/query/FilterQueryImpl.kt | 2 ++ dsl/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt | 2 ++ dsl/src/commonMain/kotlin/query/UpdateQuery.kt | 1 + dsl/src/commonMain/kotlin/query/UpdateQueryImpl.kt | 2 ++ 11 files changed, 20 insertions(+) diff --git a/dsl-template/build.gradle.kts b/dsl-template/build.gradle.kts index f0517ede..7b49bc9e 100644 --- a/dsl-template/build.gradle.kts +++ b/dsl-template/build.gradle.kts @@ -21,6 +21,10 @@ plugins { kotlin { jvm() + js { + browser() + nodejs() + } sourceSets.commonMain.dependencies { api(projects.annotations) diff --git a/dsl-template/src/commonMain/kotlin/query/FilterQuery.kt b/dsl-template/src/commonMain/kotlin/query/FilterQuery.kt index 894e736b..1f68144c 100644 --- a/dsl-template/src/commonMain/kotlin/query/FilterQuery.kt +++ b/dsl-template/src/commonMain/kotlin/query/FilterQuery.kt @@ -27,6 +27,7 @@ import opensavvy.ktmongo.dsl.aggregation.Value import opensavvy.ktmongo.dsl.path.* import opensavvy.ktmongo.dsl.tree.CompoundBsonNode import org.intellij.lang.annotations.Language +import kotlin.jvm.JvmName import kotlin.reflect.KType import kotlin.reflect.typeOf diff --git a/dsl-template/src/commonMain/kotlin/query/FilterQueryImpl.kt b/dsl-template/src/commonMain/kotlin/query/FilterQueryImpl.kt index 9372ef50..d0c976a3 100644 --- a/dsl-template/src/commonMain/kotlin/query/FilterQueryImpl.kt +++ b/dsl-template/src/commonMain/kotlin/query/FilterQueryImpl.kt @@ -32,6 +32,8 @@ import opensavvy.ktmongo.dsl.path.Path import opensavvy.ktmongo.dsl.tree.AbstractBsonNode import opensavvy.ktmongo.dsl.tree.AbstractCompoundBsonNode import opensavvy.ktmongo.dsl.tree.BsonNode +import kotlin.jvm.JvmMultifileClass +import kotlin.jvm.JvmName import kotlin.reflect.KType @KtMongoDsl diff --git a/dsl-template/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt b/dsl-template/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt index 28d496d8..4e6c9cb5 100644 --- a/dsl-template/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt +++ b/dsl-template/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt @@ -28,6 +28,8 @@ import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.tree.AbstractBsonNode import opensavvy.ktmongo.dsl.tree.AbstractCompoundBsonNode import opensavvy.ktmongo.dsl.tree.BsonNode +import kotlin.jvm.JvmMultifileClass +import kotlin.jvm.JvmName import kotlin.reflect.KType import kotlin.reflect.typeOf diff --git a/dsl-template/src/commonMain/kotlin/query/UpdateQuery.kt b/dsl-template/src/commonMain/kotlin/query/UpdateQuery.kt index a03ec1a1..5b71ebbe 100644 --- a/dsl-template/src/commonMain/kotlin/query/UpdateQuery.kt +++ b/dsl-template/src/commonMain/kotlin/query/UpdateQuery.kt @@ -24,6 +24,7 @@ import opensavvy.ktmongo.dsl.options.SortOptionDsl import opensavvy.ktmongo.dsl.path.* import opensavvy.ktmongo.dsl.tree.BsonNode import opensavvy.ktmongo.dsl.tree.CompoundBsonNode +import kotlin.jvm.JvmName import kotlin.reflect.KType import kotlin.reflect.typeOf import kotlin.time.Instant diff --git a/dsl-template/src/commonMain/kotlin/query/UpdateQueryImpl.kt b/dsl-template/src/commonMain/kotlin/query/UpdateQueryImpl.kt index ab2d761d..7482725c 100644 --- a/dsl-template/src/commonMain/kotlin/query/UpdateQueryImpl.kt +++ b/dsl-template/src/commonMain/kotlin/query/UpdateQueryImpl.kt @@ -32,6 +32,8 @@ import opensavvy.ktmongo.dsl.tree.AbstractBsonNode import opensavvy.ktmongo.dsl.tree.AbstractCompoundBsonNode import opensavvy.ktmongo.dsl.tree.BsonNode import opensavvy.ktmongo.dsl.tree.acceptAll +import kotlin.jvm.JvmMultifileClass +import kotlin.jvm.JvmName import kotlin.reflect.KClass import kotlin.reflect.KType import kotlin.time.Instant diff --git a/dsl/src/commonMain/kotlin/query/FilterQuery.kt b/dsl/src/commonMain/kotlin/query/FilterQuery.kt index 00194a73..989f7652 100644 --- a/dsl/src/commonMain/kotlin/query/FilterQuery.kt +++ b/dsl/src/commonMain/kotlin/query/FilterQuery.kt @@ -30,6 +30,7 @@ import opensavvy.ktmongo.dsl.aggregation.Value import opensavvy.ktmongo.dsl.path.* import opensavvy.ktmongo.dsl.tree.CompoundBsonNode import org.intellij.lang.annotations.Language +import kotlin.jvm.JvmName import kotlin.reflect.KType import kotlin.reflect.typeOf diff --git a/dsl/src/commonMain/kotlin/query/FilterQueryImpl.kt b/dsl/src/commonMain/kotlin/query/FilterQueryImpl.kt index aea75e33..a54bacdb 100644 --- a/dsl/src/commonMain/kotlin/query/FilterQueryImpl.kt +++ b/dsl/src/commonMain/kotlin/query/FilterQueryImpl.kt @@ -35,6 +35,8 @@ import opensavvy.ktmongo.dsl.path.Path import opensavvy.ktmongo.dsl.tree.AbstractBsonNode import opensavvy.ktmongo.dsl.tree.AbstractCompoundBsonNode import opensavvy.ktmongo.dsl.tree.BsonNode +import kotlin.jvm.JvmMultifileClass +import kotlin.jvm.JvmName import kotlin.reflect.KType @KtMongoDsl diff --git a/dsl/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt b/dsl/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt index e37ba7c6..3e6b34a8 100644 --- a/dsl/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt +++ b/dsl/src/commonMain/kotlin/query/FilterQueryPredicateImpl.kt @@ -31,6 +31,8 @@ import opensavvy.ktmongo.dsl.LowLevelApi import opensavvy.ktmongo.dsl.tree.AbstractBsonNode import opensavvy.ktmongo.dsl.tree.AbstractCompoundBsonNode import opensavvy.ktmongo.dsl.tree.BsonNode +import kotlin.jvm.JvmMultifileClass +import kotlin.jvm.JvmName import kotlin.reflect.KType import kotlin.reflect.typeOf diff --git a/dsl/src/commonMain/kotlin/query/UpdateQuery.kt b/dsl/src/commonMain/kotlin/query/UpdateQuery.kt index c66b240b..fe96edce 100644 --- a/dsl/src/commonMain/kotlin/query/UpdateQuery.kt +++ b/dsl/src/commonMain/kotlin/query/UpdateQuery.kt @@ -27,6 +27,7 @@ import opensavvy.ktmongo.dsl.options.SortOptionDsl import opensavvy.ktmongo.dsl.path.* import opensavvy.ktmongo.dsl.tree.BsonNode import opensavvy.ktmongo.dsl.tree.CompoundBsonNode +import kotlin.jvm.JvmName import kotlin.reflect.KType import kotlin.reflect.typeOf import kotlin.time.Instant diff --git a/dsl/src/commonMain/kotlin/query/UpdateQueryImpl.kt b/dsl/src/commonMain/kotlin/query/UpdateQueryImpl.kt index 8fa09f84..f8398931 100644 --- a/dsl/src/commonMain/kotlin/query/UpdateQueryImpl.kt +++ b/dsl/src/commonMain/kotlin/query/UpdateQueryImpl.kt @@ -35,6 +35,8 @@ import opensavvy.ktmongo.dsl.tree.AbstractBsonNode import opensavvy.ktmongo.dsl.tree.AbstractCompoundBsonNode import opensavvy.ktmongo.dsl.tree.BsonNode import opensavvy.ktmongo.dsl.tree.acceptAll +import kotlin.jvm.JvmMultifileClass +import kotlin.jvm.JvmName import kotlin.reflect.KClass import kotlin.reflect.KType import kotlin.time.Instant -- 2.51.2 From feeff9cd53b0062f1124f5ef2d9f681e6053ba92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Thu, 14 May 2026 18:21:45 +0200 Subject: [PATCH 13/15] feat(dsl-templator): Generate fully-qualified @JvmName @JvmName is imported by default in KotlinJVM but not in Multiplatform. --- .../ArithmeticValueAccumulators.kt | 32 +- .../operators/ArithmeticValueOperators.kt | 110 +-- .../operators/ArrayValueOperators.kt | 118 +-- .../operators/ComparisonValueOperators.kt | 168 ++--- .../operators/ConditionalValueOperators.kt | 144 ++-- .../operators/StringValueOperators.kt | 684 +++++++++--------- .../operators/TrigonometryValueOperators.kt | 60 +- .../operators/TypeValueOperators.kt | 48 +- .../aggregation/operators/ValueOperators.kt | 8 +- .../kotlin/aggregation/stages/Set.kt | 104 +-- .../src/main/kotlin/ApplyTemplateTask.kt | 4 +- 11 files changed, 740 insertions(+), 740 deletions(-) diff --git a/dsl/src/commonMain/kotlin/aggregation/accumulators/ArithmeticValueAccumulators.kt b/dsl/src/commonMain/kotlin/aggregation/accumulators/ArithmeticValueAccumulators.kt index 1c5bf8a3..4d6807f9 100644 --- a/dsl/src/commonMain/kotlin/aggregation/accumulators/ArithmeticValueAccumulators.kt +++ b/dsl/src/commonMain/kotlin/aggregation/accumulators/ArithmeticValueAccumulators.kt @@ -99,7 +99,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/sum/#mongodb-group-grp.-sum) */ - @JvmName("sumByField") + @kotlin.jvm.JvmName("sumByField") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -132,7 +132,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/sum/#mongodb-group-grp.-sum) */ - @JvmName("sumPropertyReceiverByField") + @kotlin.jvm.JvmName("sumPropertyReceiverByField") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -165,7 +165,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/sum/#mongodb-group-grp.-sum) */ - @JvmName("sumByProperty") + @kotlin.jvm.JvmName("sumByProperty") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -198,7 +198,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/sum/#mongodb-group-grp.-sum) */ - @JvmName("sumPropertyReceiverByProperty") + @kotlin.jvm.JvmName("sumPropertyReceiverByProperty") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -369,7 +369,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/avg) */ - @JvmName("averageByField") + @kotlin.jvm.JvmName("averageByField") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -404,7 +404,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/avg) */ - @JvmName("averagePropertyReceiverByField") + @kotlin.jvm.JvmName("averagePropertyReceiverByField") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -439,7 +439,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/avg) */ - @JvmName("averageByProperty") + @kotlin.jvm.JvmName("averageByProperty") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -474,7 +474,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/avg) */ - @JvmName("averagePropertyReceiverByProperty") + @kotlin.jvm.JvmName("averagePropertyReceiverByProperty") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -651,7 +651,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/median/) */ - @JvmName("medianByField") + @kotlin.jvm.JvmName("medianByField") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -686,7 +686,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/median/) */ - @JvmName("medianPropertyReceiverByField") + @kotlin.jvm.JvmName("medianPropertyReceiverByField") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -721,7 +721,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/median/) */ - @JvmName("medianByProperty") + @kotlin.jvm.JvmName("medianByProperty") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -756,7 +756,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/median/) */ - @JvmName("medianPropertyReceiverByProperty") + @kotlin.jvm.JvmName("medianPropertyReceiverByProperty") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -936,7 +936,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/percentiles/) */ - @JvmName("percentilesByField") + @kotlin.jvm.JvmName("percentilesByField") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -974,7 +974,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/percentiles/) */ - @JvmName("percentilesPropertyReceiverByField") + @kotlin.jvm.JvmName("percentilesPropertyReceiverByField") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1012,7 +1012,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/percentiles/) */ - @JvmName("percentilesByProperty") + @kotlin.jvm.JvmName("percentilesByProperty") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1050,7 +1050,7 @@ interface ArithmeticValueAccumulators : ValueAccumulator * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/percentiles/) */ - @JvmName("percentilesPropertyReceiverByProperty") + @kotlin.jvm.JvmName("percentilesPropertyReceiverByProperty") @OptIn(DangerousMongoApi::class, LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl diff --git a/dsl/src/commonMain/kotlin/aggregation/operators/ArithmeticValueOperators.kt b/dsl/src/commonMain/kotlin/aggregation/operators/ArithmeticValueOperators.kt index 130574c4..7f11e0be 100644 --- a/dsl/src/commonMain/kotlin/aggregation/operators/ArithmeticValueOperators.kt +++ b/dsl/src/commonMain/kotlin/aggregation/operators/ArithmeticValueOperators.kt @@ -94,7 +94,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/abs/) */ - @JvmName("absByField") + @kotlin.jvm.JvmName("absByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -127,7 +127,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/abs/) */ - @JvmName("absByProperty") + @kotlin.jvm.JvmName("absByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -222,7 +222,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ - @JvmName("plusByField") + @kotlin.jvm.JvmName("plusByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -252,7 +252,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ - @JvmName("plusByProperty") + @kotlin.jvm.JvmName("plusByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -312,7 +312,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ - @JvmName("plusFieldReceiverByValue") + @kotlin.jvm.JvmName("plusFieldReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -342,7 +342,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ - @JvmName("plusFieldReceiverByField") + @kotlin.jvm.JvmName("plusFieldReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -372,7 +372,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ - @JvmName("plusFieldReceiverByProperty") + @kotlin.jvm.JvmName("plusFieldReceiverByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -402,7 +402,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ - @JvmName("plusFieldReceiverByResult") + @kotlin.jvm.JvmName("plusFieldReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -432,7 +432,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ - @JvmName("plusPropertyReceiverByValue") + @kotlin.jvm.JvmName("plusPropertyReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -462,7 +462,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ - @JvmName("plusPropertyReceiverByField") + @kotlin.jvm.JvmName("plusPropertyReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -492,7 +492,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ - @JvmName("plusPropertyReceiverByProperty") + @kotlin.jvm.JvmName("plusPropertyReceiverByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -522,7 +522,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ - @JvmName("plusPropertyReceiverByResult") + @kotlin.jvm.JvmName("plusPropertyReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -553,7 +553,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("plusResultReceiverByValue") + @kotlin.jvm.JvmName("plusResultReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -584,7 +584,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("plusResultReceiverByField") + @kotlin.jvm.JvmName("plusResultReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -615,7 +615,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("plusResultReceiverByProperty") + @kotlin.jvm.JvmName("plusResultReceiverByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -646,7 +646,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("plusResultReceiverByResult") + @kotlin.jvm.JvmName("plusResultReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -744,7 +744,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ceil/) */ - @JvmName("ceilByField") + @kotlin.jvm.JvmName("ceilByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -774,7 +774,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ceil/) */ - @JvmName("ceilByProperty") + @kotlin.jvm.JvmName("ceilByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -866,7 +866,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ - @JvmName("timesByField") + @kotlin.jvm.JvmName("timesByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -896,7 +896,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ - @JvmName("timesByProperty") + @kotlin.jvm.JvmName("timesByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -956,7 +956,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ - @JvmName("timesFieldReceiverByValue") + @kotlin.jvm.JvmName("timesFieldReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -986,7 +986,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ - @JvmName("timesFieldReceiverByField") + @kotlin.jvm.JvmName("timesFieldReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1016,7 +1016,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ - @JvmName("timesFieldReceiverByProperty") + @kotlin.jvm.JvmName("timesFieldReceiverByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1046,7 +1046,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ - @JvmName("timesFieldReceiverByResult") + @kotlin.jvm.JvmName("timesFieldReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -1076,7 +1076,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ - @JvmName("timesPropertyReceiverByValue") + @kotlin.jvm.JvmName("timesPropertyReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1106,7 +1106,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ - @JvmName("timesPropertyReceiverByField") + @kotlin.jvm.JvmName("timesPropertyReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1136,7 +1136,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ - @JvmName("timesPropertyReceiverByProperty") + @kotlin.jvm.JvmName("timesPropertyReceiverByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1166,7 +1166,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ - @JvmName("timesPropertyReceiverByResult") + @kotlin.jvm.JvmName("timesPropertyReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -1197,7 +1197,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("timesResultReceiverByValue") + @kotlin.jvm.JvmName("timesResultReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -1228,7 +1228,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("timesResultReceiverByField") + @kotlin.jvm.JvmName("timesResultReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -1259,7 +1259,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("timesResultReceiverByProperty") + @kotlin.jvm.JvmName("timesResultReceiverByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -1290,7 +1290,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("timesResultReceiverByResult") + @kotlin.jvm.JvmName("timesResultReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -1392,7 +1392,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/divide/) */ - @JvmName("divByField") + @kotlin.jvm.JvmName("divByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1456,7 +1456,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/divide/) */ - @JvmName("divFieldReceiverByValue") + @kotlin.jvm.JvmName("divFieldReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1488,7 +1488,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/divide/) */ - @JvmName("divFieldReceiverByField") + @kotlin.jvm.JvmName("divFieldReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1520,7 +1520,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/divide/) */ - @JvmName("divFieldReceiverByResult") + @kotlin.jvm.JvmName("divFieldReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -1553,7 +1553,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/divide/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("divResultReceiverByValue") + @kotlin.jvm.JvmName("divResultReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -1586,7 +1586,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/divide/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("divResultReceiverByField") + @kotlin.jvm.JvmName("divResultReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -1619,7 +1619,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/divide/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("divResultReceiverByResult") + @kotlin.jvm.JvmName("divResultReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -1705,7 +1705,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ - @JvmName("minusByField") + @kotlin.jvm.JvmName("minusByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1738,7 +1738,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ - @JvmName("minusByProperty") + @kotlin.jvm.JvmName("minusByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1804,7 +1804,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ - @JvmName("minusFieldReceiverByValue") + @kotlin.jvm.JvmName("minusFieldReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1837,7 +1837,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ - @JvmName("minusFieldReceiverByField") + @kotlin.jvm.JvmName("minusFieldReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1870,7 +1870,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ - @JvmName("minusFieldReceiverByProperty") + @kotlin.jvm.JvmName("minusFieldReceiverByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1903,7 +1903,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ - @JvmName("minusFieldReceiverByResult") + @kotlin.jvm.JvmName("minusFieldReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -1936,7 +1936,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ - @JvmName("minusPropertyReceiverByValue") + @kotlin.jvm.JvmName("minusPropertyReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1969,7 +1969,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ - @JvmName("minusPropertyReceiverByField") + @kotlin.jvm.JvmName("minusPropertyReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -2002,7 +2002,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ - @JvmName("minusPropertyReceiverByProperty") + @kotlin.jvm.JvmName("minusPropertyReceiverByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -2035,7 +2035,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ - @JvmName("minusPropertyReceiverByResult") + @kotlin.jvm.JvmName("minusPropertyReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -2069,7 +2069,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("minusResultReceiverByValue") + @kotlin.jvm.JvmName("minusResultReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -2103,7 +2103,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("minusResultReceiverByField") + @kotlin.jvm.JvmName("minusResultReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -2137,7 +2137,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("minusResultReceiverByProperty") + @kotlin.jvm.JvmName("minusResultReceiverByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -2171,7 +2171,7 @@ interface ArithmeticValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/subtract/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("minusResultReceiverByResult") + @kotlin.jvm.JvmName("minusResultReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl @@ -2251,7 +2251,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/floor/) */ - @JvmName("floorByField") + @kotlin.jvm.JvmName("floorByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -2281,7 +2281,7 @@ interface ArithmeticValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/floor/) */ - @JvmName("floorByProperty") + @kotlin.jvm.JvmName("floorByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl diff --git a/dsl/src/commonMain/kotlin/aggregation/operators/ArrayValueOperators.kt b/dsl/src/commonMain/kotlin/aggregation/operators/ArrayValueOperators.kt index d8110fd4..a2a3b56d 100644 --- a/dsl/src/commonMain/kotlin/aggregation/operators/ArrayValueOperators.kt +++ b/dsl/src/commonMain/kotlin/aggregation/operators/ArrayValueOperators.kt @@ -97,7 +97,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/avg/) */ - @JvmName("averageFieldReceiver") + @kotlin.jvm.JvmName("averageFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -127,7 +127,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/avg/) */ - @JvmName("averagePropertyReceiver") + @kotlin.jvm.JvmName("averagePropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -158,7 +158,7 @@ interface ArrayValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/avg/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("averageResultReceiver") + @kotlin.jvm.JvmName("averageResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -265,7 +265,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/avg/) */ - @JvmName("averageByField") + @kotlin.jvm.JvmName("averageByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -295,7 +295,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/avg/) */ - @JvmName("averageByProperty") + @kotlin.jvm.JvmName("averageByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -405,7 +405,7 @@ interface ArrayValueOperators : ValueOperators { * current element being iterated over. By default, `"this"`. Setting this parameter is only useful when using * nested [filter] or other similar calls, which could otherwise conflict. */ - @JvmName("filterByField") + @kotlin.jvm.JvmName("filterByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -447,7 +447,7 @@ interface ArrayValueOperators : ValueOperators { * current element being iterated over. By default, `"this"`. Setting this parameter is only useful when using * nested [filter] or other similar calls, which could otherwise conflict. */ - @JvmName("filterByProperty") + @kotlin.jvm.JvmName("filterByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -531,7 +531,7 @@ interface ArrayValueOperators : ValueOperators { * current element being iterated over. By default, `"this"`. Setting this parameter is only useful when using * nested [filter] or other similar calls, which could otherwise conflict. */ - @JvmName("filterFieldReceiverByValue") + @kotlin.jvm.JvmName("filterFieldReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -573,7 +573,7 @@ interface ArrayValueOperators : ValueOperators { * current element being iterated over. By default, `"this"`. Setting this parameter is only useful when using * nested [filter] or other similar calls, which could otherwise conflict. */ - @JvmName("filterFieldReceiverByField") + @kotlin.jvm.JvmName("filterFieldReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -615,7 +615,7 @@ interface ArrayValueOperators : ValueOperators { * current element being iterated over. By default, `"this"`. Setting this parameter is only useful when using * nested [filter] or other similar calls, which could otherwise conflict. */ - @JvmName("filterFieldReceiverByProperty") + @kotlin.jvm.JvmName("filterFieldReceiverByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -657,7 +657,7 @@ interface ArrayValueOperators : ValueOperators { * current element being iterated over. By default, `"this"`. Setting this parameter is only useful when using * nested [filter] or other similar calls, which could otherwise conflict. */ - @JvmName("filterFieldReceiverByResult") + @kotlin.jvm.JvmName("filterFieldReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -699,7 +699,7 @@ interface ArrayValueOperators : ValueOperators { * current element being iterated over. By default, `"this"`. Setting this parameter is only useful when using * nested [filter] or other similar calls, which could otherwise conflict. */ - @JvmName("filterPropertyReceiverByValue") + @kotlin.jvm.JvmName("filterPropertyReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -741,7 +741,7 @@ interface ArrayValueOperators : ValueOperators { * current element being iterated over. By default, `"this"`. Setting this parameter is only useful when using * nested [filter] or other similar calls, which could otherwise conflict. */ - @JvmName("filterPropertyReceiverByField") + @kotlin.jvm.JvmName("filterPropertyReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -783,7 +783,7 @@ interface ArrayValueOperators : ValueOperators { * current element being iterated over. By default, `"this"`. Setting this parameter is only useful when using * nested [filter] or other similar calls, which could otherwise conflict. */ - @JvmName("filterPropertyReceiverByProperty") + @kotlin.jvm.JvmName("filterPropertyReceiverByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -825,7 +825,7 @@ interface ArrayValueOperators : ValueOperators { * current element being iterated over. By default, `"this"`. Setting this parameter is only useful when using * nested [filter] or other similar calls, which could otherwise conflict. */ - @JvmName("filterPropertyReceiverByResult") + @kotlin.jvm.JvmName("filterPropertyReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -868,7 +868,7 @@ interface ArrayValueOperators : ValueOperators { * nested [filter] or other similar calls, which could otherwise conflict. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("filterResultReceiverByValue") + @kotlin.jvm.JvmName("filterResultReceiverByValue") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -911,7 +911,7 @@ interface ArrayValueOperators : ValueOperators { * nested [filter] or other similar calls, which could otherwise conflict. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("filterResultReceiverByField") + @kotlin.jvm.JvmName("filterResultReceiverByField") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -954,7 +954,7 @@ interface ArrayValueOperators : ValueOperators { * nested [filter] or other similar calls, which could otherwise conflict. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("filterResultReceiverByProperty") + @kotlin.jvm.JvmName("filterResultReceiverByProperty") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -997,7 +997,7 @@ interface ArrayValueOperators : ValueOperators { * nested [filter] or other similar calls, which could otherwise conflict. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("filterResultReceiverByResult") + @kotlin.jvm.JvmName("filterResultReceiverByResult") @OptIn(LowLevelApi::class) @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl @@ -1114,7 +1114,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ - @JvmName("takeByField") + @kotlin.jvm.JvmName("takeByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1146,7 +1146,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ - @JvmName("takeByProperty") + @kotlin.jvm.JvmName("takeByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1210,7 +1210,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ - @JvmName("takeFieldReceiverByValue") + @kotlin.jvm.JvmName("takeFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1242,7 +1242,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ - @JvmName("takeFieldReceiverByField") + @kotlin.jvm.JvmName("takeFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1274,7 +1274,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ - @JvmName("takeFieldReceiverByProperty") + @kotlin.jvm.JvmName("takeFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1306,7 +1306,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ - @JvmName("takeFieldReceiverByResult") + @kotlin.jvm.JvmName("takeFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1338,7 +1338,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ - @JvmName("takePropertyReceiverByValue") + @kotlin.jvm.JvmName("takePropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1370,7 +1370,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ - @JvmName("takePropertyReceiverByField") + @kotlin.jvm.JvmName("takePropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1402,7 +1402,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ - @JvmName("takePropertyReceiverByProperty") + @kotlin.jvm.JvmName("takePropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1434,7 +1434,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ - @JvmName("takePropertyReceiverByResult") + @kotlin.jvm.JvmName("takePropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1467,7 +1467,7 @@ interface ArrayValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("takeResultReceiverByValue") + @kotlin.jvm.JvmName("takeResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1500,7 +1500,7 @@ interface ArrayValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("takeResultReceiverByField") + @kotlin.jvm.JvmName("takeResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1533,7 +1533,7 @@ interface ArrayValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("takeResultReceiverByProperty") + @kotlin.jvm.JvmName("takeResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1566,7 +1566,7 @@ interface ArrayValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/firstN/#array-operator) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("takeResultReceiverByResult") + @kotlin.jvm.JvmName("takeResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1657,7 +1657,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ - @JvmName("takeLastByField") + @kotlin.jvm.JvmName("takeLastByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1689,7 +1689,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ - @JvmName("takeLastByProperty") + @kotlin.jvm.JvmName("takeLastByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1753,7 +1753,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ - @JvmName("takeLastFieldReceiverByValue") + @kotlin.jvm.JvmName("takeLastFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1785,7 +1785,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ - @JvmName("takeLastFieldReceiverByField") + @kotlin.jvm.JvmName("takeLastFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1817,7 +1817,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ - @JvmName("takeLastFieldReceiverByProperty") + @kotlin.jvm.JvmName("takeLastFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1849,7 +1849,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ - @JvmName("takeLastFieldReceiverByResult") + @kotlin.jvm.JvmName("takeLastFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1881,7 +1881,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ - @JvmName("takeLastPropertyReceiverByValue") + @kotlin.jvm.JvmName("takeLastPropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1913,7 +1913,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ - @JvmName("takeLastPropertyReceiverByField") + @kotlin.jvm.JvmName("takeLastPropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1945,7 +1945,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ - @JvmName("takeLastPropertyReceiverByProperty") + @kotlin.jvm.JvmName("takeLastPropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1977,7 +1977,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ - @JvmName("takeLastPropertyReceiverByResult") + @kotlin.jvm.JvmName("takeLastPropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2010,7 +2010,7 @@ interface ArrayValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("takeLastResultReceiverByValue") + @kotlin.jvm.JvmName("takeLastResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2043,7 +2043,7 @@ interface ArrayValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("takeLastResultReceiverByField") + @kotlin.jvm.JvmName("takeLastResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2076,7 +2076,7 @@ interface ArrayValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("takeLastResultReceiverByProperty") + @kotlin.jvm.JvmName("takeLastResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2109,7 +2109,7 @@ interface ArrayValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lastN/#array-operator) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("takeLastResultReceiverByResult") + @kotlin.jvm.JvmName("takeLastResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2208,7 +2208,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/map/) */ - @JvmName("mapFieldReceiver") + @kotlin.jvm.JvmName("mapFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2244,7 +2244,7 @@ interface ArrayValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/map/) */ - @JvmName("mapPropertyReceiver") + @kotlin.jvm.JvmName("mapPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2281,7 +2281,7 @@ interface ArrayValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/map/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("mapResultReceiver") + @kotlin.jvm.JvmName("mapResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2386,7 +2386,7 @@ interface ArrayValueOperators : ValueOperators { * @see sortedBy Sort by fields of elements. * @see sortedDescending Sort by elements in descending order. */ - @JvmName("sortedFieldReceiver") + @kotlin.jvm.JvmName("sortedFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2422,7 +2422,7 @@ interface ArrayValueOperators : ValueOperators { * @see sortedBy Sort by fields of elements. * @see sortedDescending Sort by elements in descending order. */ - @JvmName("sortedPropertyReceiver") + @kotlin.jvm.JvmName("sortedPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2459,7 +2459,7 @@ interface ArrayValueOperators : ValueOperators { * @see sortedDescending Sort by elements in descending order. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("sortedResultReceiver") + @kotlin.jvm.JvmName("sortedResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2533,7 +2533,7 @@ interface ArrayValueOperators : ValueOperators { * @see sortedBy Sort by fields of elements. * @see sortedDescending Sort by fields of elements. */ - @JvmName("sortedDescendingFieldReceiver") + @kotlin.jvm.JvmName("sortedDescendingFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2569,7 +2569,7 @@ interface ArrayValueOperators : ValueOperators { * @see sortedBy Sort by fields of elements. * @see sortedDescending Sort by fields of elements. */ - @JvmName("sortedDescendingPropertyReceiver") + @kotlin.jvm.JvmName("sortedDescendingPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2606,7 +2606,7 @@ interface ArrayValueOperators : ValueOperators { * @see sortedDescending Sort by fields of elements. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("sortedDescendingResultReceiver") + @kotlin.jvm.JvmName("sortedDescendingResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2686,7 +2686,7 @@ interface ArrayValueOperators : ValueOperators { * @see sorted Sort by the elements themselves (ascending order). * @see sortedDescending Sort by the elements themselves (descending order). */ - @JvmName("sortedByFieldReceiver") + @kotlin.jvm.JvmName("sortedByFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2726,7 +2726,7 @@ interface ArrayValueOperators : ValueOperators { * @see sorted Sort by the elements themselves (ascending order). * @see sortedDescending Sort by the elements themselves (descending order). */ - @JvmName("sortedByPropertyReceiver") + @kotlin.jvm.JvmName("sortedByPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2767,7 +2767,7 @@ interface ArrayValueOperators : ValueOperators { * @see sortedDescending Sort by the elements themselves (descending order). */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("sortedByResultReceiver") + @kotlin.jvm.JvmName("sortedByResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl diff --git a/dsl/src/commonMain/kotlin/aggregation/operators/ComparisonValueOperators.kt b/dsl/src/commonMain/kotlin/aggregation/operators/ComparisonValueOperators.kt index 2ab92b66..65f663cd 100644 --- a/dsl/src/commonMain/kotlin/aggregation/operators/ComparisonValueOperators.kt +++ b/dsl/src/commonMain/kotlin/aggregation/operators/ComparisonValueOperators.kt @@ -98,7 +98,7 @@ interface ComparisonValueOperators : ValueOperators { * @see ne Negation of this operator. * @see FilterQuery.eq Equivalent operator in regular queries. */ - @JvmName("eqByField") + @kotlin.jvm.JvmName("eqByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -134,7 +134,7 @@ interface ComparisonValueOperators : ValueOperators { * @see ne Negation of this operator. * @see FilterQuery.eq Equivalent operator in regular queries. */ - @JvmName("eqByProperty") + @kotlin.jvm.JvmName("eqByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -206,7 +206,7 @@ interface ComparisonValueOperators : ValueOperators { * @see ne Negation of this operator. * @see FilterQuery.eq Equivalent operator in regular queries. */ - @JvmName("eqFieldReceiverByValue") + @kotlin.jvm.JvmName("eqFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -242,7 +242,7 @@ interface ComparisonValueOperators : ValueOperators { * @see ne Negation of this operator. * @see FilterQuery.eq Equivalent operator in regular queries. */ - @JvmName("eqFieldReceiverByField") + @kotlin.jvm.JvmName("eqFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -278,7 +278,7 @@ interface ComparisonValueOperators : ValueOperators { * @see ne Negation of this operator. * @see FilterQuery.eq Equivalent operator in regular queries. */ - @JvmName("eqFieldReceiverByProperty") + @kotlin.jvm.JvmName("eqFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -314,7 +314,7 @@ interface ComparisonValueOperators : ValueOperators { * @see ne Negation of this operator. * @see FilterQuery.eq Equivalent operator in regular queries. */ - @JvmName("eqFieldReceiverByResult") + @kotlin.jvm.JvmName("eqFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -350,7 +350,7 @@ interface ComparisonValueOperators : ValueOperators { * @see ne Negation of this operator. * @see FilterQuery.eq Equivalent operator in regular queries. */ - @JvmName("eqPropertyReceiverByValue") + @kotlin.jvm.JvmName("eqPropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -386,7 +386,7 @@ interface ComparisonValueOperators : ValueOperators { * @see ne Negation of this operator. * @see FilterQuery.eq Equivalent operator in regular queries. */ - @JvmName("eqPropertyReceiverByField") + @kotlin.jvm.JvmName("eqPropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -422,7 +422,7 @@ interface ComparisonValueOperators : ValueOperators { * @see ne Negation of this operator. * @see FilterQuery.eq Equivalent operator in regular queries. */ - @JvmName("eqPropertyReceiverByProperty") + @kotlin.jvm.JvmName("eqPropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -458,7 +458,7 @@ interface ComparisonValueOperators : ValueOperators { * @see ne Negation of this operator. * @see FilterQuery.eq Equivalent operator in regular queries. */ - @JvmName("eqPropertyReceiverByResult") + @kotlin.jvm.JvmName("eqPropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -495,7 +495,7 @@ interface ComparisonValueOperators : ValueOperators { * @see FilterQuery.eq Equivalent operator in regular queries. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("eqResultReceiverByValue") + @kotlin.jvm.JvmName("eqResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -532,7 +532,7 @@ interface ComparisonValueOperators : ValueOperators { * @see FilterQuery.eq Equivalent operator in regular queries. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("eqResultReceiverByField") + @kotlin.jvm.JvmName("eqResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -569,7 +569,7 @@ interface ComparisonValueOperators : ValueOperators { * @see FilterQuery.eq Equivalent operator in regular queries. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("eqResultReceiverByProperty") + @kotlin.jvm.JvmName("eqResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -606,7 +606,7 @@ interface ComparisonValueOperators : ValueOperators { * @see FilterQuery.eq Equivalent operator in regular queries. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("eqResultReceiverByResult") + @kotlin.jvm.JvmName("eqResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -676,7 +676,7 @@ interface ComparisonValueOperators : ValueOperators { * @see eq Negation of this operator. * @see FilterQuery.ne Equivalent operator in regular queries. */ - @JvmName("neByField") + @kotlin.jvm.JvmName("neByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -712,7 +712,7 @@ interface ComparisonValueOperators : ValueOperators { * @see eq Negation of this operator. * @see FilterQuery.ne Equivalent operator in regular queries. */ - @JvmName("neByProperty") + @kotlin.jvm.JvmName("neByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -784,7 +784,7 @@ interface ComparisonValueOperators : ValueOperators { * @see eq Negation of this operator. * @see FilterQuery.ne Equivalent operator in regular queries. */ - @JvmName("neFieldReceiverByValue") + @kotlin.jvm.JvmName("neFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -820,7 +820,7 @@ interface ComparisonValueOperators : ValueOperators { * @see eq Negation of this operator. * @see FilterQuery.ne Equivalent operator in regular queries. */ - @JvmName("neFieldReceiverByField") + @kotlin.jvm.JvmName("neFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -856,7 +856,7 @@ interface ComparisonValueOperators : ValueOperators { * @see eq Negation of this operator. * @see FilterQuery.ne Equivalent operator in regular queries. */ - @JvmName("neFieldReceiverByProperty") + @kotlin.jvm.JvmName("neFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -892,7 +892,7 @@ interface ComparisonValueOperators : ValueOperators { * @see eq Negation of this operator. * @see FilterQuery.ne Equivalent operator in regular queries. */ - @JvmName("neFieldReceiverByResult") + @kotlin.jvm.JvmName("neFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -928,7 +928,7 @@ interface ComparisonValueOperators : ValueOperators { * @see eq Negation of this operator. * @see FilterQuery.ne Equivalent operator in regular queries. */ - @JvmName("nePropertyReceiverByValue") + @kotlin.jvm.JvmName("nePropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -964,7 +964,7 @@ interface ComparisonValueOperators : ValueOperators { * @see eq Negation of this operator. * @see FilterQuery.ne Equivalent operator in regular queries. */ - @JvmName("nePropertyReceiverByField") + @kotlin.jvm.JvmName("nePropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1000,7 +1000,7 @@ interface ComparisonValueOperators : ValueOperators { * @see eq Negation of this operator. * @see FilterQuery.ne Equivalent operator in regular queries. */ - @JvmName("nePropertyReceiverByProperty") + @kotlin.jvm.JvmName("nePropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1036,7 +1036,7 @@ interface ComparisonValueOperators : ValueOperators { * @see eq Negation of this operator. * @see FilterQuery.ne Equivalent operator in regular queries. */ - @JvmName("nePropertyReceiverByResult") + @kotlin.jvm.JvmName("nePropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1073,7 +1073,7 @@ interface ComparisonValueOperators : ValueOperators { * @see FilterQuery.ne Equivalent operator in regular queries. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("neResultReceiverByValue") + @kotlin.jvm.JvmName("neResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1110,7 +1110,7 @@ interface ComparisonValueOperators : ValueOperators { * @see FilterQuery.ne Equivalent operator in regular queries. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("neResultReceiverByField") + @kotlin.jvm.JvmName("neResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1147,7 +1147,7 @@ interface ComparisonValueOperators : ValueOperators { * @see FilterQuery.ne Equivalent operator in regular queries. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("neResultReceiverByProperty") + @kotlin.jvm.JvmName("neResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1184,7 +1184,7 @@ interface ComparisonValueOperators : ValueOperators { * @see FilterQuery.ne Equivalent operator in regular queries. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("neResultReceiverByResult") + @kotlin.jvm.JvmName("neResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1198,14 +1198,14 @@ interface ComparisonValueOperators : ValueOperators { infix fun Value.gt(other: Value): Value = ComparisonValueOperator(context, this, other, "gt") - @JvmName("gtByField") + @kotlin.jvm.JvmName("gtByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun Value.gt(other: opensavvy.ktmongo.dsl.path.Field): Value = this.gt(of(other)) - @JvmName("gtByProperty") + @kotlin.jvm.JvmName("gtByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1219,56 +1219,56 @@ interface ComparisonValueOperators : ValueOperators { infix final inline fun Value.gt(other: Result): Value = this.gt(of(other)) - @JvmName("gtFieldReceiverByValue") + @kotlin.jvm.JvmName("gtFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.gt(other: Value): Value = of(this).gt(other) - @JvmName("gtFieldReceiverByField") + @kotlin.jvm.JvmName("gtFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.gt(other: opensavvy.ktmongo.dsl.path.Field): Value = of(this).gt(of(other)) - @JvmName("gtFieldReceiverByProperty") + @kotlin.jvm.JvmName("gtFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.gt(other: kotlin.reflect.KProperty1): Value = of(this).gt(of(other)) - @JvmName("gtFieldReceiverByResult") + @kotlin.jvm.JvmName("gtFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl infix final inline fun opensavvy.ktmongo.dsl.path.Field.gt(other: Result): Value = of(this).gt(of(other)) - @JvmName("gtPropertyReceiverByValue") + @kotlin.jvm.JvmName("gtPropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun kotlin.reflect.KProperty1.gt(other: Value): Value = of(this).gt(other) - @JvmName("gtPropertyReceiverByField") + @kotlin.jvm.JvmName("gtPropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun kotlin.reflect.KProperty1.gt(other: opensavvy.ktmongo.dsl.path.Field): Value = of(this).gt(of(other)) - @JvmName("gtPropertyReceiverByProperty") + @kotlin.jvm.JvmName("gtPropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun kotlin.reflect.KProperty1.gt(other: kotlin.reflect.KProperty1): Value = of(this).gt(of(other)) - @JvmName("gtPropertyReceiverByResult") + @kotlin.jvm.JvmName("gtPropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1276,7 +1276,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).gt(of(other)) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("gtResultReceiverByValue") + @kotlin.jvm.JvmName("gtResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1284,7 +1284,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).gt(other) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("gtResultReceiverByField") + @kotlin.jvm.JvmName("gtResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1292,7 +1292,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).gt(of(other)) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("gtResultReceiverByProperty") + @kotlin.jvm.JvmName("gtResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1300,7 +1300,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).gt(of(other)) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("gtResultReceiverByResult") + @kotlin.jvm.JvmName("gtResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1312,14 +1312,14 @@ interface ComparisonValueOperators : ValueOperators { infix fun Value.gte(other: Value): Value = ComparisonValueOperator(context, this, other, "gte") - @JvmName("gteByField") + @kotlin.jvm.JvmName("gteByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun Value.gte(other: opensavvy.ktmongo.dsl.path.Field): Value = this.gte(of(other)) - @JvmName("gteByProperty") + @kotlin.jvm.JvmName("gteByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1333,56 +1333,56 @@ interface ComparisonValueOperators : ValueOperators { infix final inline fun Value.gte(other: Result): Value = this.gte(of(other)) - @JvmName("gteFieldReceiverByValue") + @kotlin.jvm.JvmName("gteFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.gte(other: Value): Value = of(this).gte(other) - @JvmName("gteFieldReceiverByField") + @kotlin.jvm.JvmName("gteFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.gte(other: opensavvy.ktmongo.dsl.path.Field): Value = of(this).gte(of(other)) - @JvmName("gteFieldReceiverByProperty") + @kotlin.jvm.JvmName("gteFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.gte(other: kotlin.reflect.KProperty1): Value = of(this).gte(of(other)) - @JvmName("gteFieldReceiverByResult") + @kotlin.jvm.JvmName("gteFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl infix final inline fun opensavvy.ktmongo.dsl.path.Field.gte(other: Result): Value = of(this).gte(of(other)) - @JvmName("gtePropertyReceiverByValue") + @kotlin.jvm.JvmName("gtePropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun kotlin.reflect.KProperty1.gte(other: Value): Value = of(this).gte(other) - @JvmName("gtePropertyReceiverByField") + @kotlin.jvm.JvmName("gtePropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun kotlin.reflect.KProperty1.gte(other: opensavvy.ktmongo.dsl.path.Field): Value = of(this).gte(of(other)) - @JvmName("gtePropertyReceiverByProperty") + @kotlin.jvm.JvmName("gtePropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun kotlin.reflect.KProperty1.gte(other: kotlin.reflect.KProperty1): Value = of(this).gte(of(other)) - @JvmName("gtePropertyReceiverByResult") + @kotlin.jvm.JvmName("gtePropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1390,7 +1390,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).gte(of(other)) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("gteResultReceiverByValue") + @kotlin.jvm.JvmName("gteResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1398,7 +1398,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).gte(other) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("gteResultReceiverByField") + @kotlin.jvm.JvmName("gteResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1406,7 +1406,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).gte(of(other)) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("gteResultReceiverByProperty") + @kotlin.jvm.JvmName("gteResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1414,7 +1414,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).gte(of(other)) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("gteResultReceiverByResult") + @kotlin.jvm.JvmName("gteResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1426,14 +1426,14 @@ interface ComparisonValueOperators : ValueOperators { infix fun Value.lt(other: Value): Value = ComparisonValueOperator(context, this, other, "lt") - @JvmName("ltByField") + @kotlin.jvm.JvmName("ltByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun Value.lt(other: opensavvy.ktmongo.dsl.path.Field): Value = this.lt(of(other)) - @JvmName("ltByProperty") + @kotlin.jvm.JvmName("ltByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1447,56 +1447,56 @@ interface ComparisonValueOperators : ValueOperators { infix final inline fun Value.lt(other: Result): Value = this.lt(of(other)) - @JvmName("ltFieldReceiverByValue") + @kotlin.jvm.JvmName("ltFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.lt(other: Value): Value = of(this).lt(other) - @JvmName("ltFieldReceiverByField") + @kotlin.jvm.JvmName("ltFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.lt(other: opensavvy.ktmongo.dsl.path.Field): Value = of(this).lt(of(other)) - @JvmName("ltFieldReceiverByProperty") + @kotlin.jvm.JvmName("ltFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.lt(other: kotlin.reflect.KProperty1): Value = of(this).lt(of(other)) - @JvmName("ltFieldReceiverByResult") + @kotlin.jvm.JvmName("ltFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl infix final inline fun opensavvy.ktmongo.dsl.path.Field.lt(other: Result): Value = of(this).lt(of(other)) - @JvmName("ltPropertyReceiverByValue") + @kotlin.jvm.JvmName("ltPropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun kotlin.reflect.KProperty1.lt(other: Value): Value = of(this).lt(other) - @JvmName("ltPropertyReceiverByField") + @kotlin.jvm.JvmName("ltPropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun kotlin.reflect.KProperty1.lt(other: opensavvy.ktmongo.dsl.path.Field): Value = of(this).lt(of(other)) - @JvmName("ltPropertyReceiverByProperty") + @kotlin.jvm.JvmName("ltPropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun kotlin.reflect.KProperty1.lt(other: kotlin.reflect.KProperty1): Value = of(this).lt(of(other)) - @JvmName("ltPropertyReceiverByResult") + @kotlin.jvm.JvmName("ltPropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1504,7 +1504,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).lt(of(other)) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("ltResultReceiverByValue") + @kotlin.jvm.JvmName("ltResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1512,7 +1512,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).lt(other) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("ltResultReceiverByField") + @kotlin.jvm.JvmName("ltResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1520,7 +1520,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).lt(of(other)) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("ltResultReceiverByProperty") + @kotlin.jvm.JvmName("ltResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1528,7 +1528,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).lt(of(other)) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("ltResultReceiverByResult") + @kotlin.jvm.JvmName("ltResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1540,14 +1540,14 @@ interface ComparisonValueOperators : ValueOperators { infix fun Value.lte(other: Value): Value = ComparisonValueOperator(context, this, other, "lte") - @JvmName("lteByField") + @kotlin.jvm.JvmName("lteByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun Value.lte(other: opensavvy.ktmongo.dsl.path.Field): Value = this.lte(of(other)) - @JvmName("lteByProperty") + @kotlin.jvm.JvmName("lteByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1561,56 +1561,56 @@ interface ComparisonValueOperators : ValueOperators { infix final inline fun Value.lte(other: Result): Value = this.lte(of(other)) - @JvmName("lteFieldReceiverByValue") + @kotlin.jvm.JvmName("lteFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.lte(other: Value): Value = of(this).lte(other) - @JvmName("lteFieldReceiverByField") + @kotlin.jvm.JvmName("lteFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.lte(other: opensavvy.ktmongo.dsl.path.Field): Value = of(this).lte(of(other)) - @JvmName("lteFieldReceiverByProperty") + @kotlin.jvm.JvmName("lteFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.lte(other: kotlin.reflect.KProperty1): Value = of(this).lte(of(other)) - @JvmName("lteFieldReceiverByResult") + @kotlin.jvm.JvmName("lteFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl infix final inline fun opensavvy.ktmongo.dsl.path.Field.lte(other: Result): Value = of(this).lte(of(other)) - @JvmName("ltePropertyReceiverByValue") + @kotlin.jvm.JvmName("ltePropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun kotlin.reflect.KProperty1.lte(other: Value): Value = of(this).lte(other) - @JvmName("ltePropertyReceiverByField") + @kotlin.jvm.JvmName("ltePropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun kotlin.reflect.KProperty1.lte(other: opensavvy.ktmongo.dsl.path.Field): Value = of(this).lte(of(other)) - @JvmName("ltePropertyReceiverByProperty") + @kotlin.jvm.JvmName("ltePropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl infix fun kotlin.reflect.KProperty1.lte(other: kotlin.reflect.KProperty1): Value = of(this).lte(of(other)) - @JvmName("ltePropertyReceiverByResult") + @kotlin.jvm.JvmName("ltePropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1618,7 +1618,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).lte(of(other)) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("lteResultReceiverByValue") + @kotlin.jvm.JvmName("lteResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1626,7 +1626,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).lte(other) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("lteResultReceiverByField") + @kotlin.jvm.JvmName("lteResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1634,7 +1634,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).lte(of(other)) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("lteResultReceiverByProperty") + @kotlin.jvm.JvmName("lteResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1642,7 +1642,7 @@ interface ComparisonValueOperators : ValueOperators { of(this).lte(of(other)) @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("lteResultReceiverByResult") + @kotlin.jvm.JvmName("lteResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl diff --git a/dsl/src/commonMain/kotlin/aggregation/operators/ConditionalValueOperators.kt b/dsl/src/commonMain/kotlin/aggregation/operators/ConditionalValueOperators.kt index b688712c..8f7f172d 100644 --- a/dsl/src/commonMain/kotlin/aggregation/operators/ConditionalValueOperators.kt +++ b/dsl/src/commonMain/kotlin/aggregation/operators/ConditionalValueOperators.kt @@ -102,7 +102,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByValueByValueByField") + @kotlin.jvm.JvmName("condByValueByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -142,7 +142,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByValueByValueByProperty") + @kotlin.jvm.JvmName("condByValueByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -222,7 +222,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByValueByFieldByValue") + @kotlin.jvm.JvmName("condByValueByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -262,7 +262,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByValueByFieldByField") + @kotlin.jvm.JvmName("condByValueByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -302,7 +302,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByValueByFieldByProperty") + @kotlin.jvm.JvmName("condByValueByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -343,7 +343,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByValueByFieldByResult") + @kotlin.jvm.JvmName("condByValueByFieldByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -383,7 +383,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByValueByPropertyByValue") + @kotlin.jvm.JvmName("condByValueByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -423,7 +423,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByValueByPropertyByField") + @kotlin.jvm.JvmName("condByValueByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -463,7 +463,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByValueByPropertyByProperty") + @kotlin.jvm.JvmName("condByValueByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -504,7 +504,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByValueByPropertyByResult") + @kotlin.jvm.JvmName("condByValueByPropertyByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -585,7 +585,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByValueByResultByField") + @kotlin.jvm.JvmName("condByValueByResultByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -626,7 +626,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByValueByResultByProperty") + @kotlin.jvm.JvmName("condByValueByResultByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -706,7 +706,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByFieldByValueByValue") + @kotlin.jvm.JvmName("condByFieldByValueByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -746,7 +746,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByFieldByValueByField") + @kotlin.jvm.JvmName("condByFieldByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -786,7 +786,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByFieldByValueByProperty") + @kotlin.jvm.JvmName("condByFieldByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -827,7 +827,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByFieldByValueByResult") + @kotlin.jvm.JvmName("condByFieldByValueByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -867,7 +867,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByFieldByFieldByValue") + @kotlin.jvm.JvmName("condByFieldByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -907,7 +907,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByFieldByFieldByField") + @kotlin.jvm.JvmName("condByFieldByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -947,7 +947,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByFieldByFieldByProperty") + @kotlin.jvm.JvmName("condByFieldByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -988,7 +988,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByFieldByFieldByResult") + @kotlin.jvm.JvmName("condByFieldByFieldByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1028,7 +1028,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByFieldByPropertyByValue") + @kotlin.jvm.JvmName("condByFieldByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1068,7 +1068,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByFieldByPropertyByField") + @kotlin.jvm.JvmName("condByFieldByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1108,7 +1108,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByFieldByPropertyByProperty") + @kotlin.jvm.JvmName("condByFieldByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1149,7 +1149,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByFieldByPropertyByResult") + @kotlin.jvm.JvmName("condByFieldByPropertyByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1190,7 +1190,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByFieldByResultByValue") + @kotlin.jvm.JvmName("condByFieldByResultByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1231,7 +1231,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByFieldByResultByField") + @kotlin.jvm.JvmName("condByFieldByResultByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1272,7 +1272,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByFieldByResultByProperty") + @kotlin.jvm.JvmName("condByFieldByResultByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1313,7 +1313,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByFieldByResultByResult") + @kotlin.jvm.JvmName("condByFieldByResultByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1353,7 +1353,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByPropertyByValueByValue") + @kotlin.jvm.JvmName("condByPropertyByValueByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1393,7 +1393,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByPropertyByValueByField") + @kotlin.jvm.JvmName("condByPropertyByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1433,7 +1433,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByPropertyByValueByProperty") + @kotlin.jvm.JvmName("condByPropertyByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1474,7 +1474,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByPropertyByValueByResult") + @kotlin.jvm.JvmName("condByPropertyByValueByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1514,7 +1514,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByPropertyByFieldByValue") + @kotlin.jvm.JvmName("condByPropertyByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1554,7 +1554,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByPropertyByFieldByField") + @kotlin.jvm.JvmName("condByPropertyByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1594,7 +1594,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByPropertyByFieldByProperty") + @kotlin.jvm.JvmName("condByPropertyByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1635,7 +1635,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByPropertyByFieldByResult") + @kotlin.jvm.JvmName("condByPropertyByFieldByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1675,7 +1675,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByPropertyByPropertyByValue") + @kotlin.jvm.JvmName("condByPropertyByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1715,7 +1715,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByPropertyByPropertyByField") + @kotlin.jvm.JvmName("condByPropertyByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1755,7 +1755,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch Specify multiple conditions. */ - @JvmName("condByPropertyByPropertyByProperty") + @kotlin.jvm.JvmName("condByPropertyByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1796,7 +1796,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByPropertyByPropertyByResult") + @kotlin.jvm.JvmName("condByPropertyByPropertyByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1837,7 +1837,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByPropertyByResultByValue") + @kotlin.jvm.JvmName("condByPropertyByResultByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1878,7 +1878,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByPropertyByResultByField") + @kotlin.jvm.JvmName("condByPropertyByResultByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1919,7 +1919,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByPropertyByResultByProperty") + @kotlin.jvm.JvmName("condByPropertyByResultByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1960,7 +1960,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByPropertyByResultByResult") + @kotlin.jvm.JvmName("condByPropertyByResultByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2041,7 +2041,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByResultByValueByField") + @kotlin.jvm.JvmName("condByResultByValueByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2082,7 +2082,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByResultByValueByProperty") + @kotlin.jvm.JvmName("condByResultByValueByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2163,7 +2163,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByResultByFieldByValue") + @kotlin.jvm.JvmName("condByResultByFieldByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2204,7 +2204,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByResultByFieldByField") + @kotlin.jvm.JvmName("condByResultByFieldByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2245,7 +2245,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByResultByFieldByProperty") + @kotlin.jvm.JvmName("condByResultByFieldByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2286,7 +2286,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByResultByFieldByResult") + @kotlin.jvm.JvmName("condByResultByFieldByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2327,7 +2327,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByResultByPropertyByValue") + @kotlin.jvm.JvmName("condByResultByPropertyByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2368,7 +2368,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByResultByPropertyByField") + @kotlin.jvm.JvmName("condByResultByPropertyByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2409,7 +2409,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByResultByPropertyByProperty") + @kotlin.jvm.JvmName("condByResultByPropertyByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2450,7 +2450,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByResultByPropertyByResult") + @kotlin.jvm.JvmName("condByResultByPropertyByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2531,7 +2531,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByResultByResultByField") + @kotlin.jvm.JvmName("condByResultByResultByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2572,7 +2572,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch Specify multiple conditions. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("condByResultByResultByProperty") + @kotlin.jvm.JvmName("condByResultByResultByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2723,7 +2723,7 @@ interface ConditionalValueOperators : ValueOperators { * @see cond Specify a single condition. * @see then Keyword to declare the different cases. */ - @JvmName("switchByField") + @kotlin.jvm.JvmName("switchByField") @Suppress("INAPPLICABLE_JVM_NAME") @KtMongoDsl @OptIn(LowLevelApi::class) @@ -2765,7 +2765,7 @@ interface ConditionalValueOperators : ValueOperators { * @see cond Specify a single condition. * @see then Keyword to declare the different cases. */ - @JvmName("switchByProperty") + @kotlin.jvm.JvmName("switchByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @KtMongoDsl @OptIn(LowLevelApi::class) @@ -2883,7 +2883,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch */ - @JvmName("thenByField") + @kotlin.jvm.JvmName("thenByField") @Suppress("INAPPLICABLE_JVM_NAME") @KtMongoDsl infix fun Value.then(value: opensavvy.ktmongo.dsl.path.Field): Case = @@ -2916,7 +2916,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch */ - @JvmName("thenByProperty") + @kotlin.jvm.JvmName("thenByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @KtMongoDsl infix fun Value.then(value: kotlin.reflect.KProperty1): Case = @@ -2982,7 +2982,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch */ - @JvmName("thenFieldReceiverByValue") + @kotlin.jvm.JvmName("thenFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.then(value: Value): Case = @@ -3015,7 +3015,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch */ - @JvmName("thenFieldReceiverByField") + @kotlin.jvm.JvmName("thenFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.then(value: opensavvy.ktmongo.dsl.path.Field): Case = @@ -3048,7 +3048,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch */ - @JvmName("thenFieldReceiverByProperty") + @kotlin.jvm.JvmName("thenFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @KtMongoDsl infix fun opensavvy.ktmongo.dsl.path.Field.then(value: kotlin.reflect.KProperty1): Case = @@ -3081,7 +3081,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch */ - @JvmName("thenFieldReceiverByResult") + @kotlin.jvm.JvmName("thenFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl infix final inline fun opensavvy.ktmongo.dsl.path.Field.then(value: T): Case = @@ -3114,7 +3114,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch */ - @JvmName("thenPropertyReceiverByValue") + @kotlin.jvm.JvmName("thenPropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @KtMongoDsl infix fun kotlin.reflect.KProperty1.then(value: Value): Case = @@ -3147,7 +3147,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch */ - @JvmName("thenPropertyReceiverByField") + @kotlin.jvm.JvmName("thenPropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @KtMongoDsl infix fun kotlin.reflect.KProperty1.then(value: opensavvy.ktmongo.dsl.path.Field): Case = @@ -3180,7 +3180,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch */ - @JvmName("thenPropertyReceiverByProperty") + @kotlin.jvm.JvmName("thenPropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @KtMongoDsl infix fun kotlin.reflect.KProperty1.then(value: kotlin.reflect.KProperty1): Case = @@ -3213,7 +3213,7 @@ interface ConditionalValueOperators : ValueOperators { * * @see switch */ - @JvmName("thenPropertyReceiverByResult") + @kotlin.jvm.JvmName("thenPropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl infix final inline fun kotlin.reflect.KProperty1.then(value: T): Case = @@ -3247,7 +3247,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("thenResultReceiverByValue") + @kotlin.jvm.JvmName("thenResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl infix final inline fun Boolean.then(value: Value): Case = @@ -3281,7 +3281,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("thenResultReceiverByField") + @kotlin.jvm.JvmName("thenResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl infix final inline fun Boolean.then(value: opensavvy.ktmongo.dsl.path.Field): Case = @@ -3315,7 +3315,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("thenResultReceiverByProperty") + @kotlin.jvm.JvmName("thenResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl infix final inline fun Boolean.then(value: kotlin.reflect.KProperty1): Case = @@ -3349,7 +3349,7 @@ interface ConditionalValueOperators : ValueOperators { * @see switch */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("thenResultReceiverByResult") + @kotlin.jvm.JvmName("thenResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl infix final inline fun Boolean.then(value: T): Case = diff --git a/dsl/src/commonMain/kotlin/aggregation/operators/StringValueOperators.kt b/dsl/src/commonMain/kotlin/aggregation/operators/StringValueOperators.kt index 0bda7389..13894671 100644 --- a/dsl/src/commonMain/kotlin/aggregation/operators/StringValueOperators.kt +++ b/dsl/src/commonMain/kotlin/aggregation/operators/StringValueOperators.kt @@ -87,7 +87,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimFieldReceiver") + @kotlin.jvm.JvmName("trimFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -116,7 +116,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimPropertyReceiver") + @kotlin.jvm.JvmName("trimPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -146,7 +146,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimResultReceiver") + @kotlin.jvm.JvmName("trimResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -212,7 +212,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimFieldReceiver") + @kotlin.jvm.JvmName("trimFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -246,7 +246,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimPropertyReceiver") + @kotlin.jvm.JvmName("trimPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -281,7 +281,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimResultReceiver") + @kotlin.jvm.JvmName("trimResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -353,7 +353,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimByField") + @kotlin.jvm.JvmName("trimByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -390,7 +390,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimByProperty") + @kotlin.jvm.JvmName("trimByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -464,7 +464,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimFieldReceiverByValue") + @kotlin.jvm.JvmName("trimFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -501,7 +501,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimFieldReceiverByField") + @kotlin.jvm.JvmName("trimFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -538,7 +538,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimFieldReceiverByProperty") + @kotlin.jvm.JvmName("trimFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -575,7 +575,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimFieldReceiverByResult") + @kotlin.jvm.JvmName("trimFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -612,7 +612,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimPropertyReceiverByValue") + @kotlin.jvm.JvmName("trimPropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -649,7 +649,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimPropertyReceiverByField") + @kotlin.jvm.JvmName("trimPropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -686,7 +686,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimPropertyReceiverByProperty") + @kotlin.jvm.JvmName("trimPropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -723,7 +723,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ - @JvmName("trimPropertyReceiverByResult") + @kotlin.jvm.JvmName("trimPropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -761,7 +761,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimResultReceiverByValue") + @kotlin.jvm.JvmName("trimResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -799,7 +799,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimResultReceiverByField") + @kotlin.jvm.JvmName("trimResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -837,7 +837,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimResultReceiverByProperty") + @kotlin.jvm.JvmName("trimResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -875,7 +875,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/trim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimResultReceiverByResult") + @kotlin.jvm.JvmName("trimResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -934,7 +934,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartFieldReceiver") + @kotlin.jvm.JvmName("trimStartFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -963,7 +963,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartPropertyReceiver") + @kotlin.jvm.JvmName("trimStartPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -993,7 +993,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimStartResultReceiver") + @kotlin.jvm.JvmName("trimStartResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1059,7 +1059,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartFieldReceiver") + @kotlin.jvm.JvmName("trimStartFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1093,7 +1093,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartPropertyReceiver") + @kotlin.jvm.JvmName("trimStartPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1128,7 +1128,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimStartResultReceiver") + @kotlin.jvm.JvmName("trimStartResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1200,7 +1200,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartByField") + @kotlin.jvm.JvmName("trimStartByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1237,7 +1237,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartByProperty") + @kotlin.jvm.JvmName("trimStartByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1311,7 +1311,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartFieldReceiverByValue") + @kotlin.jvm.JvmName("trimStartFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1348,7 +1348,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartFieldReceiverByField") + @kotlin.jvm.JvmName("trimStartFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1385,7 +1385,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartFieldReceiverByProperty") + @kotlin.jvm.JvmName("trimStartFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1422,7 +1422,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartFieldReceiverByResult") + @kotlin.jvm.JvmName("trimStartFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1459,7 +1459,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartPropertyReceiverByValue") + @kotlin.jvm.JvmName("trimStartPropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1496,7 +1496,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartPropertyReceiverByField") + @kotlin.jvm.JvmName("trimStartPropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1533,7 +1533,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartPropertyReceiverByProperty") + @kotlin.jvm.JvmName("trimStartPropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1570,7 +1570,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ - @JvmName("trimStartPropertyReceiverByResult") + @kotlin.jvm.JvmName("trimStartPropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1608,7 +1608,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimStartResultReceiverByValue") + @kotlin.jvm.JvmName("trimStartResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1646,7 +1646,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimStartResultReceiverByField") + @kotlin.jvm.JvmName("trimStartResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1684,7 +1684,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimStartResultReceiverByProperty") + @kotlin.jvm.JvmName("trimStartResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1722,7 +1722,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/ltrim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimStartResultReceiverByResult") + @kotlin.jvm.JvmName("trimStartResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1781,7 +1781,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndFieldReceiver") + @kotlin.jvm.JvmName("trimEndFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1810,7 +1810,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndPropertyReceiver") + @kotlin.jvm.JvmName("trimEndPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1840,7 +1840,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimEndResultReceiver") + @kotlin.jvm.JvmName("trimEndResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1906,7 +1906,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndFieldReceiver") + @kotlin.jvm.JvmName("trimEndFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1940,7 +1940,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndPropertyReceiver") + @kotlin.jvm.JvmName("trimEndPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1975,7 +1975,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimEndResultReceiver") + @kotlin.jvm.JvmName("trimEndResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2047,7 +2047,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndByField") + @kotlin.jvm.JvmName("trimEndByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2084,7 +2084,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndByProperty") + @kotlin.jvm.JvmName("trimEndByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2158,7 +2158,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndFieldReceiverByValue") + @kotlin.jvm.JvmName("trimEndFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2195,7 +2195,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndFieldReceiverByField") + @kotlin.jvm.JvmName("trimEndFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2232,7 +2232,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndFieldReceiverByProperty") + @kotlin.jvm.JvmName("trimEndFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2269,7 +2269,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndFieldReceiverByResult") + @kotlin.jvm.JvmName("trimEndFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2306,7 +2306,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndPropertyReceiverByValue") + @kotlin.jvm.JvmName("trimEndPropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2343,7 +2343,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndPropertyReceiverByField") + @kotlin.jvm.JvmName("trimEndPropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2380,7 +2380,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndPropertyReceiverByProperty") + @kotlin.jvm.JvmName("trimEndPropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2417,7 +2417,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ - @JvmName("trimEndPropertyReceiverByResult") + @kotlin.jvm.JvmName("trimEndPropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2455,7 +2455,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimEndResultReceiverByValue") + @kotlin.jvm.JvmName("trimEndResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2493,7 +2493,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimEndResultReceiverByField") + @kotlin.jvm.JvmName("trimEndResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2531,7 +2531,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimEndResultReceiverByProperty") + @kotlin.jvm.JvmName("trimEndResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2569,7 +2569,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/rtrim/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("trimEndResultReceiverByResult") + @kotlin.jvm.JvmName("trimEndResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2628,7 +2628,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/toLower/) */ - @JvmName("lowercaseFieldReceiver") + @kotlin.jvm.JvmName("lowercaseFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2657,7 +2657,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/toLower/) */ - @JvmName("lowercasePropertyReceiver") + @kotlin.jvm.JvmName("lowercasePropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2687,7 +2687,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/toLower/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("lowercaseResultReceiver") + @kotlin.jvm.JvmName("lowercaseResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2746,7 +2746,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/toUpper/) */ - @JvmName("uppercaseFieldReceiver") + @kotlin.jvm.JvmName("uppercaseFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2775,7 +2775,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/toUpper/) */ - @JvmName("uppercasePropertyReceiver") + @kotlin.jvm.JvmName("uppercasePropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -2805,7 +2805,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/toUpper/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("uppercaseResultReceiver") + @kotlin.jvm.JvmName("uppercaseResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3232,7 +3232,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringByValueByField") + @kotlin.jvm.JvmName("substringByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3276,7 +3276,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringByValueByProperty") + @kotlin.jvm.JvmName("substringByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3364,7 +3364,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringByFieldByValue") + @kotlin.jvm.JvmName("substringByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3408,7 +3408,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringByFieldByField") + @kotlin.jvm.JvmName("substringByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3452,7 +3452,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringByFieldByProperty") + @kotlin.jvm.JvmName("substringByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3497,7 +3497,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringByFieldByResult") + @kotlin.jvm.JvmName("substringByFieldByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3541,7 +3541,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringByPropertyByValue") + @kotlin.jvm.JvmName("substringByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3585,7 +3585,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringByPropertyByField") + @kotlin.jvm.JvmName("substringByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3629,7 +3629,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringByPropertyByProperty") + @kotlin.jvm.JvmName("substringByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3674,7 +3674,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringByPropertyByResult") + @kotlin.jvm.JvmName("substringByPropertyByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3763,7 +3763,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringByResultByField") + @kotlin.jvm.JvmName("substringByResultByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3808,7 +3808,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringByResultByProperty") + @kotlin.jvm.JvmName("substringByResultByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3896,7 +3896,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByValueByValue") + @kotlin.jvm.JvmName("substringFieldReceiverByValueByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3940,7 +3940,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByValueByField") + @kotlin.jvm.JvmName("substringFieldReceiverByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -3984,7 +3984,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByValueByProperty") + @kotlin.jvm.JvmName("substringFieldReceiverByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4028,7 +4028,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByValueByResult") + @kotlin.jvm.JvmName("substringFieldReceiverByValueByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4072,7 +4072,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByFieldByValue") + @kotlin.jvm.JvmName("substringFieldReceiverByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4116,7 +4116,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByFieldByField") + @kotlin.jvm.JvmName("substringFieldReceiverByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4160,7 +4160,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByFieldByProperty") + @kotlin.jvm.JvmName("substringFieldReceiverByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4204,7 +4204,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByFieldByResult") + @kotlin.jvm.JvmName("substringFieldReceiverByFieldByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4248,7 +4248,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByPropertyByValue") + @kotlin.jvm.JvmName("substringFieldReceiverByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4292,7 +4292,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByPropertyByField") + @kotlin.jvm.JvmName("substringFieldReceiverByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4336,7 +4336,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("substringFieldReceiverByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4380,7 +4380,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByPropertyByResult") + @kotlin.jvm.JvmName("substringFieldReceiverByPropertyByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4424,7 +4424,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByResultByValue") + @kotlin.jvm.JvmName("substringFieldReceiverByResultByValue") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4468,7 +4468,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByResultByField") + @kotlin.jvm.JvmName("substringFieldReceiverByResultByField") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4512,7 +4512,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByResultByProperty") + @kotlin.jvm.JvmName("substringFieldReceiverByResultByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4556,7 +4556,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiverByResultByResult") + @kotlin.jvm.JvmName("substringFieldReceiverByResultByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4600,7 +4600,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByValueByValue") + @kotlin.jvm.JvmName("substringPropertyReceiverByValueByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4644,7 +4644,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByValueByField") + @kotlin.jvm.JvmName("substringPropertyReceiverByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4688,7 +4688,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByValueByProperty") + @kotlin.jvm.JvmName("substringPropertyReceiverByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4732,7 +4732,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByValueByResult") + @kotlin.jvm.JvmName("substringPropertyReceiverByValueByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4776,7 +4776,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByFieldByValue") + @kotlin.jvm.JvmName("substringPropertyReceiverByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4820,7 +4820,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByFieldByField") + @kotlin.jvm.JvmName("substringPropertyReceiverByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4864,7 +4864,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByFieldByProperty") + @kotlin.jvm.JvmName("substringPropertyReceiverByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4908,7 +4908,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByFieldByResult") + @kotlin.jvm.JvmName("substringPropertyReceiverByFieldByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4952,7 +4952,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByPropertyByValue") + @kotlin.jvm.JvmName("substringPropertyReceiverByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -4996,7 +4996,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByPropertyByField") + @kotlin.jvm.JvmName("substringPropertyReceiverByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5040,7 +5040,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("substringPropertyReceiverByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5084,7 +5084,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByPropertyByResult") + @kotlin.jvm.JvmName("substringPropertyReceiverByPropertyByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5128,7 +5128,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByResultByValue") + @kotlin.jvm.JvmName("substringPropertyReceiverByResultByValue") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5172,7 +5172,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByResultByField") + @kotlin.jvm.JvmName("substringPropertyReceiverByResultByField") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5216,7 +5216,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByResultByProperty") + @kotlin.jvm.JvmName("substringPropertyReceiverByResultByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5260,7 +5260,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiverByResultByResult") + @kotlin.jvm.JvmName("substringPropertyReceiverByResultByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5305,7 +5305,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByValueByValue") + @kotlin.jvm.JvmName("substringResultReceiverByValueByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5350,7 +5350,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByValueByField") + @kotlin.jvm.JvmName("substringResultReceiverByValueByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5395,7 +5395,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByValueByProperty") + @kotlin.jvm.JvmName("substringResultReceiverByValueByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5440,7 +5440,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByValueByResult") + @kotlin.jvm.JvmName("substringResultReceiverByValueByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5485,7 +5485,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByFieldByValue") + @kotlin.jvm.JvmName("substringResultReceiverByFieldByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5530,7 +5530,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByFieldByField") + @kotlin.jvm.JvmName("substringResultReceiverByFieldByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5575,7 +5575,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByFieldByProperty") + @kotlin.jvm.JvmName("substringResultReceiverByFieldByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5620,7 +5620,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByFieldByResult") + @kotlin.jvm.JvmName("substringResultReceiverByFieldByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5665,7 +5665,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByPropertyByValue") + @kotlin.jvm.JvmName("substringResultReceiverByPropertyByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5710,7 +5710,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByPropertyByField") + @kotlin.jvm.JvmName("substringResultReceiverByPropertyByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5755,7 +5755,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("substringResultReceiverByPropertyByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5800,7 +5800,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByPropertyByResult") + @kotlin.jvm.JvmName("substringResultReceiverByPropertyByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5845,7 +5845,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByResultByValue") + @kotlin.jvm.JvmName("substringResultReceiverByResultByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5890,7 +5890,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByResultByField") + @kotlin.jvm.JvmName("substringResultReceiverByResultByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5935,7 +5935,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByResultByProperty") + @kotlin.jvm.JvmName("substringResultReceiverByResultByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -5980,7 +5980,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiverByResultByResult") + @kotlin.jvm.JvmName("substringResultReceiverByResultByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6062,7 +6062,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringFieldReceiver") + @kotlin.jvm.JvmName("substringFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6104,7 +6104,7 @@ interface StringValueOperators : ValueOperators { * * @see substringUTF8 */ - @JvmName("substringPropertyReceiver") + @kotlin.jvm.JvmName("substringPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6147,7 +6147,7 @@ interface StringValueOperators : ValueOperators { * @see substringUTF8 */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringResultReceiver") + @kotlin.jvm.JvmName("substringResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6240,7 +6240,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8ByValueByField") + @kotlin.jvm.JvmName("substringUTF8ByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6286,7 +6286,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8ByValueByProperty") + @kotlin.jvm.JvmName("substringUTF8ByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6378,7 +6378,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8ByFieldByValue") + @kotlin.jvm.JvmName("substringUTF8ByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6424,7 +6424,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8ByFieldByField") + @kotlin.jvm.JvmName("substringUTF8ByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6470,7 +6470,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8ByFieldByProperty") + @kotlin.jvm.JvmName("substringUTF8ByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6517,7 +6517,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ByFieldByResult") + @kotlin.jvm.JvmName("substringUTF8ByFieldByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6563,7 +6563,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8ByPropertyByValue") + @kotlin.jvm.JvmName("substringUTF8ByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6609,7 +6609,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8ByPropertyByField") + @kotlin.jvm.JvmName("substringUTF8ByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6655,7 +6655,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8ByPropertyByProperty") + @kotlin.jvm.JvmName("substringUTF8ByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6702,7 +6702,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ByPropertyByResult") + @kotlin.jvm.JvmName("substringUTF8ByPropertyByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6795,7 +6795,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ByResultByField") + @kotlin.jvm.JvmName("substringUTF8ByResultByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6842,7 +6842,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ByResultByProperty") + @kotlin.jvm.JvmName("substringUTF8ByResultByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6934,7 +6934,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByValueByValue") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByValueByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -6980,7 +6980,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByValueByField") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7026,7 +7026,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByValueByProperty") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7072,7 +7072,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByValueByResult") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByValueByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7118,7 +7118,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByFieldByValue") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7164,7 +7164,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByFieldByField") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7210,7 +7210,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByFieldByProperty") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7256,7 +7256,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByFieldByResult") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByFieldByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7302,7 +7302,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByPropertyByValue") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7348,7 +7348,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByPropertyByField") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7394,7 +7394,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7440,7 +7440,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByPropertyByResult") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByPropertyByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7486,7 +7486,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByResultByValue") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByResultByValue") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7532,7 +7532,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByResultByField") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByResultByField") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7578,7 +7578,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByResultByProperty") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByResultByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7624,7 +7624,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiverByResultByResult") + @kotlin.jvm.JvmName("substringUTF8FieldReceiverByResultByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7670,7 +7670,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByValueByValue") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByValueByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7716,7 +7716,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByValueByField") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7762,7 +7762,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByValueByProperty") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7808,7 +7808,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByValueByResult") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByValueByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7854,7 +7854,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByFieldByValue") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7900,7 +7900,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByFieldByField") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7946,7 +7946,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByFieldByProperty") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -7992,7 +7992,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByFieldByResult") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByFieldByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8038,7 +8038,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByPropertyByValue") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8084,7 +8084,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByPropertyByField") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8130,7 +8130,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8176,7 +8176,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByPropertyByResult") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByPropertyByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8222,7 +8222,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByResultByValue") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByResultByValue") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8268,7 +8268,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByResultByField") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByResultByField") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8314,7 +8314,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByResultByProperty") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByResultByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8360,7 +8360,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiverByResultByResult") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiverByResultByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8407,7 +8407,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByValueByValue") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByValueByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8454,7 +8454,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByValueByField") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByValueByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8501,7 +8501,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByValueByProperty") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByValueByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8548,7 +8548,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByValueByResult") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByValueByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8595,7 +8595,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByFieldByValue") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByFieldByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8642,7 +8642,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByFieldByField") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByFieldByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8689,7 +8689,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByFieldByProperty") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByFieldByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8736,7 +8736,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByFieldByResult") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByFieldByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8783,7 +8783,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByPropertyByValue") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByPropertyByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8830,7 +8830,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByPropertyByField") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByPropertyByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8877,7 +8877,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByPropertyByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8924,7 +8924,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByPropertyByResult") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByPropertyByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -8971,7 +8971,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByResultByValue") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByResultByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9018,7 +9018,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByResultByField") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByResultByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9065,7 +9065,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByResultByProperty") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByResultByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9112,7 +9112,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiverByResultByResult") + @kotlin.jvm.JvmName("substringUTF8ResultReceiverByResultByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9198,7 +9198,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8FieldReceiver") + @kotlin.jvm.JvmName("substringUTF8FieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9242,7 +9242,7 @@ interface StringValueOperators : ValueOperators { * * @see substring */ - @JvmName("substringUTF8PropertyReceiver") + @kotlin.jvm.JvmName("substringUTF8PropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9287,7 +9287,7 @@ interface StringValueOperators : ValueOperators { * @see substring */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("substringUTF8ResultReceiver") + @kotlin.jvm.JvmName("substringUTF8ResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9354,7 +9354,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ - @JvmName("splitByField") + @kotlin.jvm.JvmName("splitByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9387,7 +9387,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ - @JvmName("splitByProperty") + @kotlin.jvm.JvmName("splitByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9453,7 +9453,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ - @JvmName("splitFieldReceiverByValue") + @kotlin.jvm.JvmName("splitFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9486,7 +9486,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ - @JvmName("splitFieldReceiverByField") + @kotlin.jvm.JvmName("splitFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9519,7 +9519,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ - @JvmName("splitFieldReceiverByProperty") + @kotlin.jvm.JvmName("splitFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9552,7 +9552,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ - @JvmName("splitFieldReceiverByResult") + @kotlin.jvm.JvmName("splitFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9585,7 +9585,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ - @JvmName("splitPropertyReceiverByValue") + @kotlin.jvm.JvmName("splitPropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9618,7 +9618,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ - @JvmName("splitPropertyReceiverByField") + @kotlin.jvm.JvmName("splitPropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9651,7 +9651,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ - @JvmName("splitPropertyReceiverByProperty") + @kotlin.jvm.JvmName("splitPropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9684,7 +9684,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ - @JvmName("splitPropertyReceiverByResult") + @kotlin.jvm.JvmName("splitPropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9718,7 +9718,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("splitResultReceiverByValue") + @kotlin.jvm.JvmName("splitResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9752,7 +9752,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("splitResultReceiverByField") + @kotlin.jvm.JvmName("splitResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9786,7 +9786,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("splitResultReceiverByProperty") + @kotlin.jvm.JvmName("splitResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9820,7 +9820,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/split/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("splitResultReceiverByResult") + @kotlin.jvm.JvmName("splitResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9885,7 +9885,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstByValueByField") + @kotlin.jvm.JvmName("replaceFirstByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9917,7 +9917,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstByValueByProperty") + @kotlin.jvm.JvmName("replaceFirstByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -9981,7 +9981,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstByFieldByValue") + @kotlin.jvm.JvmName("replaceFirstByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10013,7 +10013,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstByFieldByField") + @kotlin.jvm.JvmName("replaceFirstByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10045,7 +10045,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstByFieldByProperty") + @kotlin.jvm.JvmName("replaceFirstByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10078,7 +10078,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstByFieldByResult") + @kotlin.jvm.JvmName("replaceFirstByFieldByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10110,7 +10110,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstByPropertyByValue") + @kotlin.jvm.JvmName("replaceFirstByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10142,7 +10142,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstByPropertyByField") + @kotlin.jvm.JvmName("replaceFirstByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10174,7 +10174,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstByPropertyByProperty") + @kotlin.jvm.JvmName("replaceFirstByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10207,7 +10207,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstByPropertyByResult") + @kotlin.jvm.JvmName("replaceFirstByPropertyByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10272,7 +10272,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstByResultByField") + @kotlin.jvm.JvmName("replaceFirstByResultByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10305,7 +10305,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstByResultByProperty") + @kotlin.jvm.JvmName("replaceFirstByResultByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10369,7 +10369,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByValueByValue") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByValueByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10401,7 +10401,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByValueByField") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10433,7 +10433,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByValueByProperty") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10465,7 +10465,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByValueByResult") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByValueByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10497,7 +10497,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByFieldByValue") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10529,7 +10529,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByFieldByField") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10561,7 +10561,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByFieldByProperty") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10593,7 +10593,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByFieldByResult") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByFieldByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10625,7 +10625,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByPropertyByValue") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10657,7 +10657,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByPropertyByField") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10689,7 +10689,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10721,7 +10721,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByPropertyByResult") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByPropertyByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10753,7 +10753,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByResultByValue") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByResultByValue") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10785,7 +10785,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByResultByField") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByResultByField") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10817,7 +10817,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByResultByProperty") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByResultByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10849,7 +10849,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstFieldReceiverByResultByResult") + @kotlin.jvm.JvmName("replaceFirstFieldReceiverByResultByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10881,7 +10881,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByValueByValue") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByValueByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10913,7 +10913,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByValueByField") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10945,7 +10945,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByValueByProperty") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -10977,7 +10977,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByValueByResult") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByValueByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11009,7 +11009,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByFieldByValue") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11041,7 +11041,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByFieldByField") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11073,7 +11073,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByFieldByProperty") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11105,7 +11105,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByFieldByResult") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByFieldByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11137,7 +11137,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByPropertyByValue") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11169,7 +11169,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByPropertyByField") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11201,7 +11201,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11233,7 +11233,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByPropertyByResult") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByPropertyByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11265,7 +11265,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByResultByValue") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByResultByValue") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11297,7 +11297,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByResultByField") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByResultByField") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11329,7 +11329,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByResultByProperty") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByResultByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11361,7 +11361,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ - @JvmName("replaceFirstPropertyReceiverByResultByResult") + @kotlin.jvm.JvmName("replaceFirstPropertyReceiverByResultByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11394,7 +11394,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByValueByValue") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByValueByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11427,7 +11427,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByValueByField") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByValueByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11460,7 +11460,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByValueByProperty") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByValueByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11493,7 +11493,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByValueByResult") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByValueByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11526,7 +11526,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByFieldByValue") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByFieldByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11559,7 +11559,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByFieldByField") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByFieldByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11592,7 +11592,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByFieldByProperty") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByFieldByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11625,7 +11625,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByFieldByResult") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByFieldByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11658,7 +11658,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByPropertyByValue") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByPropertyByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11691,7 +11691,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByPropertyByField") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByPropertyByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11724,7 +11724,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByPropertyByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11757,7 +11757,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByPropertyByResult") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByPropertyByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11790,7 +11790,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByResultByValue") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByResultByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11823,7 +11823,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByResultByField") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByResultByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11856,7 +11856,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByResultByProperty") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByResultByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11889,7 +11889,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceOne/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceFirstResultReceiverByResultByResult") + @kotlin.jvm.JvmName("replaceFirstResultReceiverByResultByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11954,7 +11954,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceByValueByField") + @kotlin.jvm.JvmName("replaceByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -11986,7 +11986,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceByValueByProperty") + @kotlin.jvm.JvmName("replaceByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12050,7 +12050,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceByFieldByValue") + @kotlin.jvm.JvmName("replaceByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12082,7 +12082,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceByFieldByField") + @kotlin.jvm.JvmName("replaceByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12114,7 +12114,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceByFieldByProperty") + @kotlin.jvm.JvmName("replaceByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12147,7 +12147,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceByFieldByResult") + @kotlin.jvm.JvmName("replaceByFieldByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12179,7 +12179,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceByPropertyByValue") + @kotlin.jvm.JvmName("replaceByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12211,7 +12211,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceByPropertyByField") + @kotlin.jvm.JvmName("replaceByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12243,7 +12243,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceByPropertyByProperty") + @kotlin.jvm.JvmName("replaceByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12276,7 +12276,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceByPropertyByResult") + @kotlin.jvm.JvmName("replaceByPropertyByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12341,7 +12341,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceByResultByField") + @kotlin.jvm.JvmName("replaceByResultByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12374,7 +12374,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceByResultByProperty") + @kotlin.jvm.JvmName("replaceByResultByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12438,7 +12438,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByValueByValue") + @kotlin.jvm.JvmName("replaceFieldReceiverByValueByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12470,7 +12470,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByValueByField") + @kotlin.jvm.JvmName("replaceFieldReceiverByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12502,7 +12502,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByValueByProperty") + @kotlin.jvm.JvmName("replaceFieldReceiverByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12534,7 +12534,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByValueByResult") + @kotlin.jvm.JvmName("replaceFieldReceiverByValueByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12566,7 +12566,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByFieldByValue") + @kotlin.jvm.JvmName("replaceFieldReceiverByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12598,7 +12598,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByFieldByField") + @kotlin.jvm.JvmName("replaceFieldReceiverByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12630,7 +12630,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByFieldByProperty") + @kotlin.jvm.JvmName("replaceFieldReceiverByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12662,7 +12662,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByFieldByResult") + @kotlin.jvm.JvmName("replaceFieldReceiverByFieldByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12694,7 +12694,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByPropertyByValue") + @kotlin.jvm.JvmName("replaceFieldReceiverByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12726,7 +12726,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByPropertyByField") + @kotlin.jvm.JvmName("replaceFieldReceiverByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12758,7 +12758,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("replaceFieldReceiverByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12790,7 +12790,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByPropertyByResult") + @kotlin.jvm.JvmName("replaceFieldReceiverByPropertyByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12822,7 +12822,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByResultByValue") + @kotlin.jvm.JvmName("replaceFieldReceiverByResultByValue") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12854,7 +12854,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByResultByField") + @kotlin.jvm.JvmName("replaceFieldReceiverByResultByField") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12886,7 +12886,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByResultByProperty") + @kotlin.jvm.JvmName("replaceFieldReceiverByResultByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12918,7 +12918,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replaceFieldReceiverByResultByResult") + @kotlin.jvm.JvmName("replaceFieldReceiverByResultByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12950,7 +12950,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByValueByValue") + @kotlin.jvm.JvmName("replacePropertyReceiverByValueByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -12982,7 +12982,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByValueByField") + @kotlin.jvm.JvmName("replacePropertyReceiverByValueByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13014,7 +13014,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByValueByProperty") + @kotlin.jvm.JvmName("replacePropertyReceiverByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13046,7 +13046,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByValueByResult") + @kotlin.jvm.JvmName("replacePropertyReceiverByValueByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13078,7 +13078,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByFieldByValue") + @kotlin.jvm.JvmName("replacePropertyReceiverByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13110,7 +13110,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByFieldByField") + @kotlin.jvm.JvmName("replacePropertyReceiverByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13142,7 +13142,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByFieldByProperty") + @kotlin.jvm.JvmName("replacePropertyReceiverByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13174,7 +13174,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByFieldByResult") + @kotlin.jvm.JvmName("replacePropertyReceiverByFieldByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13206,7 +13206,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByPropertyByValue") + @kotlin.jvm.JvmName("replacePropertyReceiverByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13238,7 +13238,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByPropertyByField") + @kotlin.jvm.JvmName("replacePropertyReceiverByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13270,7 +13270,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("replacePropertyReceiverByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13302,7 +13302,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByPropertyByResult") + @kotlin.jvm.JvmName("replacePropertyReceiverByPropertyByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13334,7 +13334,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByResultByValue") + @kotlin.jvm.JvmName("replacePropertyReceiverByResultByValue") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13366,7 +13366,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByResultByField") + @kotlin.jvm.JvmName("replacePropertyReceiverByResultByField") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13398,7 +13398,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByResultByProperty") + @kotlin.jvm.JvmName("replacePropertyReceiverByResultByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13430,7 +13430,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ - @JvmName("replacePropertyReceiverByResultByResult") + @kotlin.jvm.JvmName("replacePropertyReceiverByResultByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13463,7 +13463,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByValueByValue") + @kotlin.jvm.JvmName("replaceResultReceiverByValueByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13496,7 +13496,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByValueByField") + @kotlin.jvm.JvmName("replaceResultReceiverByValueByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13529,7 +13529,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByValueByProperty") + @kotlin.jvm.JvmName("replaceResultReceiverByValueByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13562,7 +13562,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByValueByResult") + @kotlin.jvm.JvmName("replaceResultReceiverByValueByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13595,7 +13595,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByFieldByValue") + @kotlin.jvm.JvmName("replaceResultReceiverByFieldByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13628,7 +13628,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByFieldByField") + @kotlin.jvm.JvmName("replaceResultReceiverByFieldByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13661,7 +13661,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByFieldByProperty") + @kotlin.jvm.JvmName("replaceResultReceiverByFieldByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13694,7 +13694,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByFieldByResult") + @kotlin.jvm.JvmName("replaceResultReceiverByFieldByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13727,7 +13727,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByPropertyByValue") + @kotlin.jvm.JvmName("replaceResultReceiverByPropertyByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13760,7 +13760,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByPropertyByField") + @kotlin.jvm.JvmName("replaceResultReceiverByPropertyByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13793,7 +13793,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("replaceResultReceiverByPropertyByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13826,7 +13826,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByPropertyByResult") + @kotlin.jvm.JvmName("replaceResultReceiverByPropertyByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13859,7 +13859,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByResultByValue") + @kotlin.jvm.JvmName("replaceResultReceiverByResultByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13892,7 +13892,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByResultByField") + @kotlin.jvm.JvmName("replaceResultReceiverByResultByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13925,7 +13925,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByResultByProperty") + @kotlin.jvm.JvmName("replaceResultReceiverByResultByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -13958,7 +13958,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceAll/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("replaceResultReceiverByResultByResult") + @kotlin.jvm.JvmName("replaceResultReceiverByResultByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14213,7 +14213,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ - @JvmName("concatByField") + @kotlin.jvm.JvmName("concatByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14245,7 +14245,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ - @JvmName("concatByProperty") + @kotlin.jvm.JvmName("concatByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14307,7 +14307,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ - @JvmName("concatByField") + @kotlin.jvm.JvmName("concatByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14339,7 +14339,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ - @JvmName("concatByProperty") + @kotlin.jvm.JvmName("concatByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14403,7 +14403,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ - @JvmName("concatFieldReceiverByValue") + @kotlin.jvm.JvmName("concatFieldReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14435,7 +14435,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ - @JvmName("concatFieldReceiverByField") + @kotlin.jvm.JvmName("concatFieldReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14467,7 +14467,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ - @JvmName("concatFieldReceiverByProperty") + @kotlin.jvm.JvmName("concatFieldReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14499,7 +14499,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ - @JvmName("concatFieldReceiverByResult") + @kotlin.jvm.JvmName("concatFieldReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14531,7 +14531,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ - @JvmName("concatPropertyReceiverByValue") + @kotlin.jvm.JvmName("concatPropertyReceiverByValue") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14563,7 +14563,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ - @JvmName("concatPropertyReceiverByField") + @kotlin.jvm.JvmName("concatPropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14595,7 +14595,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ - @JvmName("concatPropertyReceiverByProperty") + @kotlin.jvm.JvmName("concatPropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14627,7 +14627,7 @@ interface StringValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ - @JvmName("concatPropertyReceiverByResult") + @kotlin.jvm.JvmName("concatPropertyReceiverByResult") @Suppress("INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14660,7 +14660,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("concatResultReceiverByValue") + @kotlin.jvm.JvmName("concatResultReceiverByValue") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14693,7 +14693,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("concatResultReceiverByField") + @kotlin.jvm.JvmName("concatResultReceiverByField") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14726,7 +14726,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("concatResultReceiverByProperty") + @kotlin.jvm.JvmName("concatResultReceiverByProperty") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -14759,7 +14759,7 @@ interface StringValueOperators : ValueOperators { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/concat/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("concatResultReceiverByResult") + @kotlin.jvm.JvmName("concatResultReceiverByResult") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl diff --git a/dsl/src/commonMain/kotlin/aggregation/operators/TrigonometryValueOperators.kt b/dsl/src/commonMain/kotlin/aggregation/operators/TrigonometryValueOperators.kt index d3771ef6..789ab94f 100644 --- a/dsl/src/commonMain/kotlin/aggregation/operators/TrigonometryValueOperators.kt +++ b/dsl/src/commonMain/kotlin/aggregation/operators/TrigonometryValueOperators.kt @@ -97,7 +97,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/acos/) */ - @JvmName("acosByField") + @kotlin.jvm.JvmName("acosByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -132,7 +132,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/acos/) */ - @JvmName("acosByProperty") + @kotlin.jvm.JvmName("acosByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -231,7 +231,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/acosh/) */ - @JvmName("acoshByField") + @kotlin.jvm.JvmName("acoshByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -264,7 +264,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/acosh/) */ - @JvmName("acoshByProperty") + @kotlin.jvm.JvmName("acoshByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -361,7 +361,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cos/) */ - @JvmName("cosByField") + @kotlin.jvm.JvmName("cosByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -394,7 +394,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cos/) */ - @JvmName("cosByProperty") + @kotlin.jvm.JvmName("cosByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -487,7 +487,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cosh/) */ - @JvmName("coshByField") + @kotlin.jvm.JvmName("coshByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -518,7 +518,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cosh/) */ - @JvmName("coshByProperty") + @kotlin.jvm.JvmName("coshByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -617,7 +617,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/asin/) */ - @JvmName("asinByField") + @kotlin.jvm.JvmName("asinByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -652,7 +652,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/asin/) */ - @JvmName("asinByProperty") + @kotlin.jvm.JvmName("asinByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -747,7 +747,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/asinh/) */ - @JvmName("asinhByField") + @kotlin.jvm.JvmName("asinhByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -778,7 +778,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/asinh/) */ - @JvmName("asinhByProperty") + @kotlin.jvm.JvmName("asinhByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -873,7 +873,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/sin/) */ - @JvmName("sinByField") + @kotlin.jvm.JvmName("sinByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -906,7 +906,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/sin/) */ - @JvmName("sinByProperty") + @kotlin.jvm.JvmName("sinByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -999,7 +999,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/sinh/) */ - @JvmName("sinhByField") + @kotlin.jvm.JvmName("sinhByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1030,7 +1030,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/sinh/) */ - @JvmName("sinhByProperty") + @kotlin.jvm.JvmName("sinhByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1125,7 +1125,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/atan/) */ - @JvmName("atanByField") + @kotlin.jvm.JvmName("atanByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1158,7 +1158,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/atan/) */ - @JvmName("atanByProperty") + @kotlin.jvm.JvmName("atanByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1255,7 +1255,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/atanh/) */ - @JvmName("atanhByField") + @kotlin.jvm.JvmName("atanhByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1288,7 +1288,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/atanh/) */ - @JvmName("atanhByProperty") + @kotlin.jvm.JvmName("atanhByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1385,7 +1385,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/tan/) */ - @JvmName("tanByField") + @kotlin.jvm.JvmName("tanByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1418,7 +1418,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/tan/) */ - @JvmName("tanByProperty") + @kotlin.jvm.JvmName("tanByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1511,7 +1511,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/tanh/) */ - @JvmName("tanhByField") + @kotlin.jvm.JvmName("tanhByField") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1542,7 +1542,7 @@ interface TrigonometryValueOperators : ValueOperators { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/tanh/) */ - @JvmName("tanhByProperty") + @kotlin.jvm.JvmName("tanhByProperty") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1636,7 +1636,7 @@ interface TrigonometryValueOperators : ValueOperators { * * @see toDegrees Opposite operation */ - @JvmName("toRadiansFieldReceiver") + @kotlin.jvm.JvmName("toRadiansFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1667,7 +1667,7 @@ interface TrigonometryValueOperators : ValueOperators { * * @see toDegrees Opposite operation */ - @JvmName("toRadiansPropertyReceiver") + @kotlin.jvm.JvmName("toRadiansPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1699,7 +1699,7 @@ interface TrigonometryValueOperators : ValueOperators { * @see toDegrees Opposite operation */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("toRadiansResultReceiver") + @kotlin.jvm.JvmName("toRadiansResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1759,7 +1759,7 @@ interface TrigonometryValueOperators : ValueOperators { * * @see toRadians Opposite operation */ - @JvmName("toDegreesFieldReceiver") + @kotlin.jvm.JvmName("toDegreesFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1790,7 +1790,7 @@ interface TrigonometryValueOperators : ValueOperators { * * @see toRadians Opposite operation */ - @JvmName("toDegreesPropertyReceiver") + @kotlin.jvm.JvmName("toDegreesPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1822,7 +1822,7 @@ interface TrigonometryValueOperators : ValueOperators { * @see toRadians Opposite operation */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("toDegreesResultReceiver") + @kotlin.jvm.JvmName("toDegreesResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl diff --git a/dsl/src/commonMain/kotlin/aggregation/operators/TypeValueOperators.kt b/dsl/src/commonMain/kotlin/aggregation/operators/TypeValueOperators.kt index 879991c3..1e5bf714 100644 --- a/dsl/src/commonMain/kotlin/aggregation/operators/TypeValueOperators.kt +++ b/dsl/src/commonMain/kotlin/aggregation/operators/TypeValueOperators.kt @@ -517,7 +517,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toBooleanFieldReceiver") + @kotlin.jvm.JvmName("toBooleanFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -557,7 +557,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toBooleanPropertyReceiver") + @kotlin.jvm.JvmName("toBooleanPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -598,7 +598,7 @@ interface TypeValueOperators : ValueOperators { * @see type Get the value's type. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("toBooleanResultReceiver") + @kotlin.jvm.JvmName("toBooleanResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -712,7 +712,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toInstantFieldReceiver") + @kotlin.jvm.JvmName("toInstantFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -770,7 +770,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toInstantPropertyReceiver") + @kotlin.jvm.JvmName("toInstantPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -829,7 +829,7 @@ interface TypeValueOperators : ValueOperators { * @see type Get the value's type. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("toInstantResultReceiver") + @kotlin.jvm.JvmName("toInstantResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -931,7 +931,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toDoubleFieldReceiver") + @kotlin.jvm.JvmName("toDoubleFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -983,7 +983,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toDoublePropertyReceiver") + @kotlin.jvm.JvmName("toDoublePropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1036,7 +1036,7 @@ interface TypeValueOperators : ValueOperators { * @see type Get the value's type. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("toDoubleResultReceiver") + @kotlin.jvm.JvmName("toDoubleResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1140,7 +1140,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toIntFieldReceiver") + @kotlin.jvm.JvmName("toIntFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1193,7 +1193,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toIntPropertyReceiver") + @kotlin.jvm.JvmName("toIntPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1247,7 +1247,7 @@ interface TypeValueOperators : ValueOperators { * @see type Get the value's type. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("toIntResultReceiver") + @kotlin.jvm.JvmName("toIntResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1349,7 +1349,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toLongFieldReceiver") + @kotlin.jvm.JvmName("toLongFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1401,7 +1401,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toLongPropertyReceiver") + @kotlin.jvm.JvmName("toLongPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1454,7 +1454,7 @@ interface TypeValueOperators : ValueOperators { * @see type Get the value's type. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("toLongResultReceiver") + @kotlin.jvm.JvmName("toLongResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1532,7 +1532,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toObjectIdFieldReceiver") + @kotlin.jvm.JvmName("toObjectIdFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1572,7 +1572,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toObjectIdPropertyReceiver") + @kotlin.jvm.JvmName("toObjectIdPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1613,7 +1613,7 @@ interface TypeValueOperators : ValueOperators { * @see type Get the value's type. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("toObjectIdResultReceiver") + @kotlin.jvm.JvmName("toObjectIdResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1701,7 +1701,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toTextFieldReceiver") + @kotlin.jvm.JvmName("toTextFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1746,7 +1746,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toTextPropertyReceiver") + @kotlin.jvm.JvmName("toTextPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1792,7 +1792,7 @@ interface TypeValueOperators : ValueOperators { * @see type Get the value's type. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("toTextResultReceiver") + @kotlin.jvm.JvmName("toTextResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) @KtMongoDsl @@ -1855,7 +1855,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toUuidFieldReceiver") + @kotlin.jvm.JvmName("toUuidFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @ExperimentalUuidApi @OptIn(LowLevelApi::class) @@ -1888,7 +1888,7 @@ interface TypeValueOperators : ValueOperators { * * @see type Get the value's type. */ - @JvmName("toUuidPropertyReceiver") + @kotlin.jvm.JvmName("toUuidPropertyReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @ExperimentalUuidApi @OptIn(LowLevelApi::class) @@ -1922,7 +1922,7 @@ interface TypeValueOperators : ValueOperators { * @see type Get the value's type. */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("toUuidResultReceiver") + @kotlin.jvm.JvmName("toUuidResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @ExperimentalUuidApi @OptIn(LowLevelApi::class) diff --git a/dsl/src/commonMain/kotlin/aggregation/operators/ValueOperators.kt b/dsl/src/commonMain/kotlin/aggregation/operators/ValueOperators.kt index eea87016..978b1914 100644 --- a/dsl/src/commonMain/kotlin/aggregation/operators/ValueOperators.kt +++ b/dsl/src/commonMain/kotlin/aggregation/operators/ValueOperators.kt @@ -204,7 +204,7 @@ interface ValueOperators : FieldDsl { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/getField/) */ - @JvmName("divFieldReceiver") + @kotlin.jvm.JvmName("divFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") @OptIn(LowLevelApi::class) operator fun opensavvy.ktmongo.dsl.path.Field.div(field: Field): Value = @@ -236,7 +236,7 @@ interface ValueOperators : FieldDsl { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/getField/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("divResultReceiver") + @kotlin.jvm.JvmName("divResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") @OptIn(LowLevelApi::class) operator final inline fun Root.div(field: Field): Value = @@ -295,7 +295,7 @@ interface ValueOperators : FieldDsl { * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/getField/) */ - @JvmName("divFieldReceiver") + @kotlin.jvm.JvmName("divFieldReceiver") @Suppress("INAPPLICABLE_JVM_NAME") operator fun opensavvy.ktmongo.dsl.path.Field.div(field: KProperty1): Value = of(this).div(field) @@ -326,7 +326,7 @@ interface ValueOperators : FieldDsl { * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/aggregation/getField/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("divResultReceiver") + @kotlin.jvm.JvmName("divResultReceiver") @Suppress("INVISIBLE_REFERENCE", "INAPPLICABLE_JVM_NAME", "WRONG_MODIFIER_CONTAINING_DECLARATION") operator final inline fun Root.div(field: KProperty1): Value = of(this).div(field) diff --git a/dsl/src/commonMain/kotlin/aggregation/stages/Set.kt b/dsl/src/commonMain/kotlin/aggregation/stages/Set.kt index a563cf78..6e7ac32f 100644 --- a/dsl/src/commonMain/kotlin/aggregation/stages/Set.kt +++ b/dsl/src/commonMain/kotlin/aggregation/stages/Set.kt @@ -98,7 +98,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/update/set/) */ - @JvmName("setByField") + @kotlin.jvm.JvmName("setByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl infix fun <@kotlin.internal.OnlyInputTypes V> Field.set(value: opensavvy.ktmongo.dsl.path.Field) = @@ -111,7 +111,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/update/set/) */ - @JvmName("setPropertyReceiverByField") + @kotlin.jvm.JvmName("setPropertyReceiverByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl infix fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.set(value: opensavvy.ktmongo.dsl.path.Field) = @@ -124,7 +124,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/update/set/) */ - @JvmName("setByProperty") + @kotlin.jvm.JvmName("setByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl infix fun <@kotlin.internal.OnlyInputTypes V> Field.set(value: kotlin.reflect.KProperty1) = @@ -137,7 +137,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * * - [Official documentation](https://www.mongodb.com/docs/manual/reference/operator/update/set/) */ - @JvmName("setPropertyReceiverByProperty") + @kotlin.jvm.JvmName("setPropertyReceiverByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl infix fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.set(value: kotlin.reflect.KProperty1) = @@ -209,7 +209,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfByValueByField") + @kotlin.jvm.JvmName("setIfByValueByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setIf(condition: Value, value: opensavvy.ktmongo.dsl.path.Field) = @@ -225,7 +225,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfPropertyReceiverByValueByField") + @kotlin.jvm.JvmName("setIfPropertyReceiverByValueByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setIf(condition: Value, value: opensavvy.ktmongo.dsl.path.Field) = @@ -241,7 +241,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfByValueByProperty") + @kotlin.jvm.JvmName("setIfByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setIf(condition: Value, value: kotlin.reflect.KProperty1) = @@ -257,7 +257,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfPropertyReceiverByValueByProperty") + @kotlin.jvm.JvmName("setIfPropertyReceiverByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setIf(condition: Value, value: kotlin.reflect.KProperty1) = @@ -304,7 +304,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfByFieldByValue") + @kotlin.jvm.JvmName("setIfByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setIf(condition: opensavvy.ktmongo.dsl.path.Field, value: Value) = @@ -320,7 +320,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfPropertyReceiverByFieldByValue") + @kotlin.jvm.JvmName("setIfPropertyReceiverByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setIf(condition: opensavvy.ktmongo.dsl.path.Field, value: Value) = @@ -336,7 +336,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfByFieldByField") + @kotlin.jvm.JvmName("setIfByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setIf(condition: opensavvy.ktmongo.dsl.path.Field, value: opensavvy.ktmongo.dsl.path.Field) = @@ -352,7 +352,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfPropertyReceiverByFieldByField") + @kotlin.jvm.JvmName("setIfPropertyReceiverByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setIf(condition: opensavvy.ktmongo.dsl.path.Field, value: opensavvy.ktmongo.dsl.path.Field) = @@ -368,7 +368,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfByFieldByProperty") + @kotlin.jvm.JvmName("setIfByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setIf(condition: opensavvy.ktmongo.dsl.path.Field, value: kotlin.reflect.KProperty1) = @@ -384,7 +384,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfPropertyReceiverByFieldByProperty") + @kotlin.jvm.JvmName("setIfPropertyReceiverByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setIf(condition: opensavvy.ktmongo.dsl.path.Field, value: kotlin.reflect.KProperty1) = @@ -401,7 +401,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("setIfByFieldByResult") + @kotlin.jvm.JvmName("setIfByFieldByResult") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes reified V> Field.setIf(condition: opensavvy.ktmongo.dsl.path.Field, value: V) = @@ -417,7 +417,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfPropertyReceiverByFieldByResult") + @kotlin.jvm.JvmName("setIfPropertyReceiverByFieldByResult") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes reified V> kotlin.reflect.KProperty1.setIf(condition: opensavvy.ktmongo.dsl.path.Field, value: V) = @@ -433,7 +433,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfByPropertyByValue") + @kotlin.jvm.JvmName("setIfByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setIf(condition: kotlin.reflect.KProperty1, value: Value) = @@ -449,7 +449,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfPropertyReceiverByPropertyByValue") + @kotlin.jvm.JvmName("setIfPropertyReceiverByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setIf(condition: kotlin.reflect.KProperty1, value: Value) = @@ -465,7 +465,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfByPropertyByField") + @kotlin.jvm.JvmName("setIfByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setIf(condition: kotlin.reflect.KProperty1, value: opensavvy.ktmongo.dsl.path.Field) = @@ -481,7 +481,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfPropertyReceiverByPropertyByField") + @kotlin.jvm.JvmName("setIfPropertyReceiverByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setIf(condition: kotlin.reflect.KProperty1, value: opensavvy.ktmongo.dsl.path.Field) = @@ -497,7 +497,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfByPropertyByProperty") + @kotlin.jvm.JvmName("setIfByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setIf(condition: kotlin.reflect.KProperty1, value: kotlin.reflect.KProperty1) = @@ -513,7 +513,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfPropertyReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("setIfPropertyReceiverByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setIf(condition: kotlin.reflect.KProperty1, value: kotlin.reflect.KProperty1) = @@ -530,7 +530,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("setIfByPropertyByResult") + @kotlin.jvm.JvmName("setIfByPropertyByResult") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes reified V> Field.setIf(condition: kotlin.reflect.KProperty1, value: V) = @@ -546,7 +546,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfPropertyReceiverByPropertyByResult") + @kotlin.jvm.JvmName("setIfPropertyReceiverByPropertyByResult") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes reified V> kotlin.reflect.KProperty1.setIf(condition: kotlin.reflect.KProperty1, value: V) = @@ -594,7 +594,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("setIfByResultByField") + @kotlin.jvm.JvmName("setIfByResultByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes V> Field.setIf(condition: Boolean, value: opensavvy.ktmongo.dsl.path.Field) = @@ -610,7 +610,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfPropertyReceiverByResultByField") + @kotlin.jvm.JvmName("setIfPropertyReceiverByResultByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setIf(condition: Boolean, value: opensavvy.ktmongo.dsl.path.Field) = @@ -627,7 +627,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("setIfByResultByProperty") + @kotlin.jvm.JvmName("setIfByResultByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes V> Field.setIf(condition: Boolean, value: kotlin.reflect.KProperty1) = @@ -643,7 +643,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setIfPropertyReceiverByResultByProperty") + @kotlin.jvm.JvmName("setIfPropertyReceiverByResultByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setIf(condition: Boolean, value: kotlin.reflect.KProperty1) = @@ -721,7 +721,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessByValueByField") + @kotlin.jvm.JvmName("setUnlessByValueByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setUnless(condition: Value, value: opensavvy.ktmongo.dsl.path.Field) = @@ -737,7 +737,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessPropertyReceiverByValueByField") + @kotlin.jvm.JvmName("setUnlessPropertyReceiverByValueByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setUnless(condition: Value, value: opensavvy.ktmongo.dsl.path.Field) = @@ -753,7 +753,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessByValueByProperty") + @kotlin.jvm.JvmName("setUnlessByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setUnless(condition: Value, value: kotlin.reflect.KProperty1) = @@ -769,7 +769,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessPropertyReceiverByValueByProperty") + @kotlin.jvm.JvmName("setUnlessPropertyReceiverByValueByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setUnless(condition: Value, value: kotlin.reflect.KProperty1) = @@ -816,7 +816,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessByFieldByValue") + @kotlin.jvm.JvmName("setUnlessByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setUnless(condition: opensavvy.ktmongo.dsl.path.Field, value: Value) = @@ -832,7 +832,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessPropertyReceiverByFieldByValue") + @kotlin.jvm.JvmName("setUnlessPropertyReceiverByFieldByValue") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setUnless(condition: opensavvy.ktmongo.dsl.path.Field, value: Value) = @@ -848,7 +848,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessByFieldByField") + @kotlin.jvm.JvmName("setUnlessByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setUnless(condition: opensavvy.ktmongo.dsl.path.Field, value: opensavvy.ktmongo.dsl.path.Field) = @@ -864,7 +864,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessPropertyReceiverByFieldByField") + @kotlin.jvm.JvmName("setUnlessPropertyReceiverByFieldByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setUnless(condition: opensavvy.ktmongo.dsl.path.Field, value: opensavvy.ktmongo.dsl.path.Field) = @@ -880,7 +880,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessByFieldByProperty") + @kotlin.jvm.JvmName("setUnlessByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setUnless(condition: opensavvy.ktmongo.dsl.path.Field, value: kotlin.reflect.KProperty1) = @@ -896,7 +896,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessPropertyReceiverByFieldByProperty") + @kotlin.jvm.JvmName("setUnlessPropertyReceiverByFieldByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setUnless(condition: opensavvy.ktmongo.dsl.path.Field, value: kotlin.reflect.KProperty1) = @@ -913,7 +913,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("setUnlessByFieldByResult") + @kotlin.jvm.JvmName("setUnlessByFieldByResult") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes reified V> Field.setUnless(condition: opensavvy.ktmongo.dsl.path.Field, value: V) = @@ -929,7 +929,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessPropertyReceiverByFieldByResult") + @kotlin.jvm.JvmName("setUnlessPropertyReceiverByFieldByResult") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes reified V> kotlin.reflect.KProperty1.setUnless(condition: opensavvy.ktmongo.dsl.path.Field, value: V) = @@ -945,7 +945,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessByPropertyByValue") + @kotlin.jvm.JvmName("setUnlessByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setUnless(condition: kotlin.reflect.KProperty1, value: Value) = @@ -961,7 +961,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessPropertyReceiverByPropertyByValue") + @kotlin.jvm.JvmName("setUnlessPropertyReceiverByPropertyByValue") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setUnless(condition: kotlin.reflect.KProperty1, value: Value) = @@ -977,7 +977,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessByPropertyByField") + @kotlin.jvm.JvmName("setUnlessByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setUnless(condition: kotlin.reflect.KProperty1, value: opensavvy.ktmongo.dsl.path.Field) = @@ -993,7 +993,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessPropertyReceiverByPropertyByField") + @kotlin.jvm.JvmName("setUnlessPropertyReceiverByPropertyByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setUnless(condition: kotlin.reflect.KProperty1, value: opensavvy.ktmongo.dsl.path.Field) = @@ -1009,7 +1009,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessByPropertyByProperty") + @kotlin.jvm.JvmName("setUnlessByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> Field.setUnless(condition: kotlin.reflect.KProperty1, value: kotlin.reflect.KProperty1) = @@ -1025,7 +1025,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessPropertyReceiverByPropertyByProperty") + @kotlin.jvm.JvmName("setUnlessPropertyReceiverByPropertyByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE") @KtMongoDsl fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setUnless(condition: kotlin.reflect.KProperty1, value: kotlin.reflect.KProperty1) = @@ -1042,7 +1042,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("setUnlessByPropertyByResult") + @kotlin.jvm.JvmName("setUnlessByPropertyByResult") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes reified V> Field.setUnless(condition: kotlin.reflect.KProperty1, value: V) = @@ -1058,7 +1058,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessPropertyReceiverByPropertyByResult") + @kotlin.jvm.JvmName("setUnlessPropertyReceiverByPropertyByResult") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes reified V> kotlin.reflect.KProperty1.setUnless(condition: kotlin.reflect.KProperty1, value: V) = @@ -1106,7 +1106,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("setUnlessByResultByField") + @kotlin.jvm.JvmName("setUnlessByResultByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes V> Field.setUnless(condition: Boolean, value: opensavvy.ktmongo.dsl.path.Field) = @@ -1122,7 +1122,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessPropertyReceiverByResultByField") + @kotlin.jvm.JvmName("setUnlessPropertyReceiverByResultByField") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setUnless(condition: Boolean, value: opensavvy.ktmongo.dsl.path.Field) = @@ -1139,7 +1139,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ @kotlin.internal.LowPriorityInOverloadResolution - @JvmName("setUnlessByResultByProperty") + @kotlin.jvm.JvmName("setUnlessByResultByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes V> Field.setUnless(condition: Boolean, value: kotlin.reflect.KProperty1) = @@ -1155,7 +1155,7 @@ interface SetStageOperators : CompoundBsonNode, AggregationOperators, F * - [`$set`](https://www.mongodb.com/docs/manual/reference/operator/update/set/) * - [`$cond`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/cond/) */ - @JvmName("setUnlessPropertyReceiverByResultByProperty") + @kotlin.jvm.JvmName("setUnlessPropertyReceiverByResultByProperty") @Suppress("INAPPLICABLE_JVM_NAME", "INVISIBLE_REFERENCE", "WRONG_MODIFIER_CONTAINING_DECLARATION") @KtMongoDsl final inline fun <@kotlin.internal.OnlyInputTypes V> kotlin.reflect.KProperty1.setUnless(condition: Boolean, value: kotlin.reflect.KProperty1) = diff --git a/gradle/conventions/dsl-templator/src/main/kotlin/ApplyTemplateTask.kt b/gradle/conventions/dsl-templator/src/main/kotlin/ApplyTemplateTask.kt index 7ddd4bcc..998a49d5 100644 --- a/gradle/conventions/dsl-templator/src/main/kotlin/ApplyTemplateTask.kt +++ b/gradle/conventions/dsl-templator/src/main/kotlin/ApplyTemplateTask.kt @@ -395,7 +395,7 @@ abstract class ApplyTemplateTask : DefaultTask() { "@Suppress(\"WRONG_MODIFIER_CONTAINING_DECLARATION\")\n\t" + afterInvisibleRef } } else afterInvisibleRef - val jvmNameAnnotation = if (needsJvmName) "@JvmName(\"$vFuncName$receiverSuffix$paramSuffix\")\n\t" else "" + val jvmNameAnnotation = if (needsJvmName) "@kotlin.jvm.JvmName(\"$vFuncName$receiverSuffix$paramSuffix\")\n\t" else "" val lowPriorityAnnotation = if (hasResultAlternative) "@kotlin.internal.LowPriorityInOverloadResolution\n\t" else "" val docComment = findDocCommentBefore(source, vFuncStart) @@ -457,7 +457,7 @@ abstract class ApplyTemplateTask : DefaultTask() { "@Suppress(\"WRONG_MODIFIER_CONTAINING_DECLARATION\")\n\t" + kpropFinalText } } - val kpropJvmNameAnnotation = if (kpropNeedsJvmName) "@JvmName(\"${vFuncName}PropertyReceiver${paramSuffix}\")\n\t" else "" + val kpropJvmNameAnnotation = if (kpropNeedsJvmName) "@kotlin.jvm.JvmName(\"${vFuncName}PropertyReceiver${paramSuffix}\")\n\t" else "" valueOverloadBuilder.append("\n\n").append(docPart).append("\t").append(kpropJvmNameAnnotation).append(kpropFinalText) } } -- 2.51.2 From fa4c0772bbf75b33cb28b47a60a10453bd94d35c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Thu, 14 May 2026 18:25:55 +0200 Subject: [PATCH 14/15] build(dsl-template): Add the JetBrains Annotations artifact They are added by default by KotlinJVM but not in Multiplatform. --- dsl-template/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/dsl-template/build.gradle.kts b/dsl-template/build.gradle.kts index 7b49bc9e..3fb73fb9 100644 --- a/dsl-template/build.gradle.kts +++ b/dsl-template/build.gradle.kts @@ -29,5 +29,6 @@ kotlin { sourceSets.commonMain.dependencies { api(projects.annotations) api(projects.bson) + implementation(libsCommon.jetbrains.annotations) } } -- 2.51.2 From 97177eb079eea03c71c6b158da093c341ca99218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Thu, 14 May 2026 18:27:36 +0200 Subject: [PATCH 15/15] test(dsl): Replace floating-point numbers The numbers -12.9 and -5.2 are inexact in binary representation, and are printed differently by KotlinJVM and KotlinJS (because KotlinJS has only 64-bit numbers). Instead, we replace them by powers of 2, which have the same exact representation on all platforms. --- .../kotlin/query/update/FieldUpdateTest.kt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dsl/src/commonTest/kotlin/query/update/FieldUpdateTest.kt b/dsl/src/commonTest/kotlin/query/update/FieldUpdateTest.kt index e15ee044..eed57644 100644 --- a/dsl/src/commonTest/kotlin/query/update/FieldUpdateTest.kt +++ b/dsl/src/commonTest/kotlin/query/update/FieldUpdateTest.kt @@ -118,11 +118,11 @@ val FieldUpdateTest by multiContextSuite { test("Nested field") { update { - User::bestFriend / Friend::money inc -12.9f + User::bestFriend / Friend::money inc -10.25f } shouldBeBson $$""" { "$inc": { - "bestFriend.money": -12.899999618530273 + "bestFriend.money": -10.25 } } """.trimIndent() @@ -131,12 +131,12 @@ val FieldUpdateTest by multiContextSuite { test("Multiple fields") { update { User::money += 5.2 - User::bestFriend / Friend::money += -5.2f + User::bestFriend / Friend::money += -1.125f } shouldBeBson $$""" { "$inc": { "money": 5.2, - "bestFriend.money": -5.199999809265137 + "bestFriend.money": -1.125 } } """.trimIndent() @@ -158,11 +158,11 @@ val FieldUpdateTest by multiContextSuite { test("Nested field") { update { - User::bestFriend / Friend::money mul -12.9f + User::bestFriend / Friend::money mul -10.25f } shouldBeBson $$""" { "$mul": { - "bestFriend.money": -12.899999618530273 + "bestFriend.money": -10.25 } } """.trimIndent() @@ -171,12 +171,12 @@ val FieldUpdateTest by multiContextSuite { test("Multiple fields") { update { User::money mul 5.2 - User::bestFriend / Friend::money mul -5.2f + User::bestFriend / Friend::money mul -1.125f } shouldBeBson $$""" { "$mul": { "money": 5.2, - "bestFriend.money": -5.199999809265137 + "bestFriend.money": -1.125 } } """.trimIndent() -- 2.51.2