Skip to content

Commit

Permalink
update import statements
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmarie17 committed Jul 19, 2024
1 parent b250081 commit 0079ad8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 0079ad8

Please sign in to comment.