prisma-client-php 2.1.2 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,18 +6,18 @@ interface IModel
|
|
|
6
6
|
{
|
|
7
7
|
public function aggregate(array $operation);
|
|
8
8
|
public function createMany(array $data);
|
|
9
|
-
|
|
9
|
+
public function createManyAndReturn(array $data);
|
|
10
10
|
public function create(array $data);
|
|
11
11
|
public function deleteMany(array $criteria);
|
|
12
12
|
public function delete(array $criteria);
|
|
13
13
|
public function findFirst(array $criteria);
|
|
14
|
-
|
|
14
|
+
public function findFirstOrThrow(array $criteria);
|
|
15
15
|
public function findMany(array $criteria);
|
|
16
16
|
public function findUnique(array $criteria);
|
|
17
|
-
|
|
17
|
+
public function findUniqueOrThrow(array $criteria);
|
|
18
18
|
public function groupBy(array $by);
|
|
19
19
|
public function updateMany(array $data);
|
|
20
|
-
|
|
20
|
+
public function updateManyAndReturn(array $data);
|
|
21
21
|
public function update(array $data);
|
|
22
22
|
public function upsert(array $data);
|
|
23
23
|
public function count(array $criteria);
|
package/package.json
CHANGED