File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -786,6 +786,9 @@ public function importFromFile(
786
786
* <li>'createCollection' - If true, create the collection if it does not exist. Defaults to false </li>
787
787
* </p>
788
788
*
789
+ * Other options as described in API Documentation*
790
+ * @see https://docs.arangodb.com/3.1/HTTP/BulkImports/
791
+ *
789
792
* @return array
790
793
* @throws \ArangoDBClient\Exception
791
794
* @throws \ArangoDBClient\ClientException
@@ -811,9 +814,10 @@ public function import(
811
814
812
815
$ this ->createCollectionIfOptions ($ collection , $ options );
813
816
814
- $ params = [
815
- self ::OPTION_COLLECTION => $ collection
816
- ];
817
+ $ params = array_merge (
818
+ [self ::OPTION_COLLECTION => $ collection ],
819
+ $ options
820
+ );
817
821
818
822
if (array_key_exists ('type ' , $ options )) {
819
823
switch ($ options ['type ' ]) {
You can’t perform that action at this time.
0 commit comments