We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 48439a7 + 73e3ccf commit c8ad2afCopy full SHA for c8ad2af
1 file changed
lib/weaviate/objects.rb
@@ -162,14 +162,13 @@ def batch_delete(
162
where:,
163
consistency_level: nil,
164
output: nil,
165
- dry_run: nil
+ dry_run: nil,
166
+ tenant: nil
167
)
168
path = "batch/#{PATH}"
169
170
unless consistency_level.nil?
171
validate_consistency_level!(consistency_level)
-
172
- path << "?consistency_level=#{consistency_level.to_s.upcase}"
173
end
174
175
response = client.connection.delete(path) do |req|
@@ -181,6 +180,8 @@ def batch_delete(
181
180
}
182
req.body["output"] = output unless output.nil?
183
req.body["dryRun"] = dry_run unless dry_run.nil?
+ req.params["consistency_level"] = consistency_level.to_s.upcase unless consistency_level.nil?
184
+ req.params["tenant"] = tenant unless tenant.nil?
185
186
187
response.body
0 commit comments