Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCSP-40639 Fix Kotlin Sync import statements #983

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/includes/stable-api-snippets/kotlin-sync-client.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import com.mongodb.ConnectionString
import com.mongodb.MongoClientSettings
import com.mongodb.ServerApi
import com.mongodb.ServerApiVersion
import com.mongodb.kotlin.client.sync.MongoClient
import com.mongodb.kotlin.client.sync.MongoDatabase
import com.mongodb.kotlin.client.MongoClient
import com.mongodb.kotlin.client.MongoDatabase

// Replace the placeholder with your MongoDB deployment's connection string
val uri = "<connection string>"
Expand Down
4 changes: 2 additions & 2 deletions source/kotlin-sync.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ Connect to MongoDB Atlas
.. code-block:: kotlin

import com.mongodb.ConnectionString
import com.mongodb.kotlin.client.sync.MongoClient
import com.mongodb.kotlin.client.sync.MongoDatabase
import com.mongodb.kotlin.client.MongoClient
import com.mongodb.kotlin.client.MongoDatabase
import com.mongodb.MongoClientSettings

// Replace the placeholder with your Atlas connection string
Expand Down
Loading