We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7816639 commit a620964Copy full SHA for a620964
examples/index.rb
@@ -0,0 +1,5 @@
1
+# Create a single field index
2
+result = client[:restaurants].indexes.create(cuisine: 1)
3
+
4
+# Create a compound index
5
+result = client[:restaurants].indexes.create(cuisine: 1, zipcode: -1)
0 commit comments