Skip to content

Commit 6318f88

Browse files
committed
fix typo
1 parent f7d2187 commit 6318f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/includes/usage-examples/databases-collection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# start-create-collection
2222
database = client.database
2323

24-
ddatabase[:example_collection].create(capped: true, size: 1024)
24+
database[:example_collection].create(capped: true, size: 1024)
2525
# end-create-collection
2626

2727
# start-get-list

0 commit comments

Comments
 (0)