Skip to content

Commit 446dfd9

Browse files
authored
One more replacement of SimpleArgs -> SortArgs (#47)
One more set missed during #46. My mistake not getting these the first time. I'm not sure how I missed them.
1 parent 8020e56 commit 446dfd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ Or with `InsertManyParams`, which may include insertion options:
9999

100100
```ruby
101101
num_inserted = client.insert_many([
102-
River::InsertManyParams.new(SimpleArgs.new(strings: ["whale", "tiger", "bear"]), insert_opts: River::InsertOpts.new(max_attempts: 5)),
103-
River::InsertManyParams.new(SimpleArgs.new(strings: ["lion", "dolphin", "eagle"]), insert_opts: River::InsertOpts.new(queue: "high_priority"))
102+
River::InsertManyParams.new(SortArgs.new(strings: ["whale", "tiger", "bear"]), insert_opts: River::InsertOpts.new(max_attempts: 5)),
103+
River::InsertManyParams.new(SortArgs.new(strings: ["lion", "dolphin", "eagle"]), insert_opts: River::InsertOpts.new(queue: "high_priority"))
104104
])
105105
```
106106

0 commit comments

Comments
 (0)