File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 30
30
},
31
31
"require-dev" : {
32
32
"codewithkyrian/chromadb-php" : " ^0.2.1 || ^0.3" ,
33
- "mongodb/mongodb" : " ^1.20 " ,
33
+ "mongodb/mongodb" : " ^1.21 " ,
34
34
"php-cs-fixer/shim" : " ^3.70" ,
35
35
"phpstan/phpstan" : " ^1.12" ,
36
36
"phpstan/phpstan-webmozart-assert" : " ^1.2" ,
47
47
"symfony/var-dumper" : " ^6.4 || ^7.1"
48
48
},
49
49
"conflict" : {
50
- "mongodb/mongodb" : " <1.20 "
50
+ "mongodb/mongodb" : " <1.21 "
51
51
},
52
52
"suggest" : {
53
53
"codewithkyrian/chromadb-php" : " For using the ChromaDB as retrieval vector store." ,
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ public function initialize(array $options = []): void
174
174
175
175
private function getCollection (): Collection
176
176
{
177
- return $ this ->client ->selectCollection ($ this ->databaseName , $ this ->collectionName );
177
+ return $ this ->client ->getCollection ($ this ->databaseName , $ this ->collectionName );
178
178
}
179
179
180
180
private function toBinary (Uuid $ uuid ): Binary
You can’t perform that action at this time.
0 commit comments