We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 298b2ce commit 3f0e7a3Copy full SHA for 3f0e7a3
source/includes/connect/connection-targets.rb
@@ -5,7 +5,7 @@
5
uri = "<connection string>"
6
7
# Sets the server_api field of the options object to Stable API version 1
8
-options = { server_api: { version: "1" } }
+options = { server_api: { version: '1' } }
9
# Creates a new client and connect to the server
10
client = Mongo::Client.new(uri, options)
11
# Sends a ping to confirm a successful connection
0 commit comments