Skip to content

Commit 10c19e1

Browse files
Merge branch 'utopia-php:main' into feat-scylladb-adapter
2 parents c968c7f + 0eed7f1 commit 10c19e1

File tree

7 files changed

+545
-382
lines changed

7 files changed

+545
-382
lines changed

composer.lock

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Database/Adapter.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -604,13 +604,12 @@ abstract public function createDocument(string $collection, Document $document):
604604
*
605605
* @param string $collection
606606
* @param array<Document> $documents
607-
* @param int $batchSize
608607
*
609608
* @return array<Document>
610609
*
611610
* @throws DatabaseException
612611
*/
613-
abstract public function createDocuments(string $collection, array $documents, int $batchSize): array;
612+
abstract public function createDocuments(string $collection, array $documents): array;
614613

615614
/**
616615
* Update Document
@@ -645,14 +644,12 @@ abstract public function updateDocuments(string $collection, Document $updates,
645644
* @param string $collection
646645
* @param string $attribute
647646
* @param array<Document> $documents
648-
* @param int $batchSize
649647
* @return array<Document>
650648
*/
651649
abstract public function createOrUpdateDocuments(
652650
string $collection,
653651
string $attribute,
654-
array $documents,
655-
int $batchSize
652+
array $documents
656653
): array;
657654

658655
/**

0 commit comments

Comments
 (0)