We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e1f36c commit e306d9fCopy full SHA for e306d9f
1 file changed
examples/collections_and_documents.rb
@@ -235,11 +235,11 @@
235
# @typesense.collections['companies'].documents.import(documents_in_jsonl_format)
236
237
## You can bulk upsert documents, by adding an upsert mode option to #import
238
-@typesense.collections['companies'].documents.import(documents, mode: :upsert)
+ap @typesense.collections['companies'].documents.import(documents, mode: :upsert)
239
240
## You can bulk upsert documents, by adding an update mode option to #import
241
# `mode: update` will throw an error if the document doesn't already exist
242
-@typesense.collections['companies'].documents.import(documents, mode: :update)
+ap @typesense.collections['companies'].documents.import(documents, mode: :update)
243
244
##
245
# Export all documents in a collection in JSON Lines format
0 commit comments