Skip to content

Commit f803cab

Browse files
authored
Merge pull request #813 from steveren/DOCS-8592
DOCS-8592: added missing colon
2 parents 0a4a12b + 23e00a4 commit f803cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/quick-start.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ from a collection (either singly or several at once).
184184
client = Mongo::Client.new('mongodb://127.0.0.1:27017/test')
185185
collection = client[:people]
186186

187-
result = collection.delete_one( name 'Steve' )
187+
result = collection.delete_one( { name: 'Steve' } )
188188

189189
puts result.deleted_count # returns 1 because one document was deleted
190190

0 commit comments

Comments
 (0)