Skip to content

Commit

Permalink
test: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
jacek-prisma committed Dec 20, 2024
1 parent 4b35c91 commit e21db88
Showing 1 changed file with 141 additions and 0 deletions.
141 changes: 141 additions & 0 deletions prisma-fmt/src/get_dmmf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5533,6 +5533,50 @@ mod tests {
"isList": false
}
},
{
"name": "updateManyAAndReturn",
"args": [
{
"name": "data",
"isRequired": true,
"isNullable": false,
"inputTypes": [
{
"type": "AUpdateManyMutationInput",
"namespace": "prisma",
"location": "inputObjectTypes",
"isList": false
},
{
"type": "AUncheckedUpdateManyInput",
"namespace": "prisma",
"location": "inputObjectTypes",
"isList": false
}
]
},
{
"name": "where",
"isRequired": false,
"isNullable": false,
"inputTypes": [
{
"type": "AWhereInput",
"namespace": "prisma",
"location": "inputObjectTypes",
"isList": false
}
]
}
],
"isNullable": false,
"outputType": {
"type": "UpdateManyAAndReturnOutputType",
"namespace": "model",
"location": "outputObjectTypes",
"isList": true
}
},
{
"name": "deleteManyA",
"args": [
Expand Down Expand Up @@ -5851,6 +5895,50 @@ mod tests {
"isList": false
}
},
{
"name": "updateManyBAndReturn",
"args": [
{
"name": "data",
"isRequired": true,
"isNullable": false,
"inputTypes": [
{
"type": "BUpdateManyMutationInput",
"namespace": "prisma",
"location": "inputObjectTypes",
"isList": false
},
{
"type": "BUncheckedUpdateManyInput",
"namespace": "prisma",
"location": "inputObjectTypes",
"isList": false
}
]
},
{
"name": "where",
"isRequired": false,
"isNullable": false,
"inputTypes": [
{
"type": "BWhereInput",
"namespace": "prisma",
"location": "inputObjectTypes",
"isList": false
}
]
}
],
"isNullable": false,
"outputType": {
"type": "UpdateManyBAndReturnOutputType",
"namespace": "model",
"location": "outputObjectTypes",
"isList": true
}
},
{
"name": "deleteManyB",
"args": [
Expand Down Expand Up @@ -6399,6 +6487,42 @@ mod tests {
}
]
},
{
"name": "UpdateManyAAndReturnOutputType",
"fields": [
{
"name": "id",
"args": [],
"isNullable": false,
"outputType": {
"type": "String",
"location": "scalar",
"isList": false
}
},
{
"name": "b_id",
"args": [],
"isNullable": false,
"outputType": {
"type": "String",
"location": "scalar",
"isList": false
}
},
{
"name": "b",
"args": [],
"isNullable": false,
"outputType": {
"type": "B",
"namespace": "model",
"location": "outputObjectTypes",
"isList": false
}
}
]
},
{
"name": "CreateManyBAndReturnOutputType",
"fields": [
Expand All @@ -6413,6 +6537,21 @@ mod tests {
}
}
]
},
{
"name": "UpdateManyBAndReturnOutputType",
"fields": [
{
"name": "id",
"args": [],
"isNullable": false,
"outputType": {
"type": "String",
"location": "scalar",
"isList": false
}
}
]
}
]
},
Expand Down Expand Up @@ -6622,6 +6761,7 @@ mod tests {
"findUniqueOrThrow": "findUniqueAOrThrow",
"groupBy": "groupByA",
"updateMany": "updateManyA",
"updateManyAndReturn": "updateManyAAndReturn",
"updateOne": "updateOneA",
"upsertOne": "upsertOneA"
},
Expand All @@ -6640,6 +6780,7 @@ mod tests {
"findUniqueOrThrow": "findUniqueBOrThrow",
"groupBy": "groupByB",
"updateMany": "updateManyB",
"updateManyAndReturn": "updateManyBAndReturn",
"updateOne": "updateOneB",
"upsertOne": "upsertOneB"
}
Expand Down

0 comments on commit e21db88

Please sign in to comment.