File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,16 @@ def upsert(
4747 def delete (
4848 collection_name :,
4949 points :, wait : nil ,
50- ordering : nil
50+ ordering : nil ,
51+ filter : nil
5152 )
5253 response = client . connection . post ( "collections/#{ collection_name } /#{ PATH } /delete" ) do |req |
5354 req . params [ "wait" ] = wait unless wait . nil?
5455 req . params [ "ordering" ] = ordering unless ordering . nil?
5556
5657 req . body = { }
5758 req . body [ "points" ] = points
59+ req . body [ "filter" ] = filter unless filter . nil?
5860 end
5961 response . body
6062 end
Original file line number Diff line number Diff line change 7171 it "return the data" do
7272 response = client . points . delete (
7373 collection_name : "test_collection" ,
74- points : [ 3 ]
74+ points : [ 3 ] ,
75+ filter : [ ]
7576 )
7677 expect ( response . dig ( "status" ) ) . to eq ( "ok" )
7778 end
You can’t perform that action at this time.
0 commit comments