Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
}
},
"dependencies": {
"@prisma/engines-version": "4.4.0-12.ef027724572e12df6f7ce8c487bd5579b008cd71"
"@prisma/engines-version": "4.4.0-32.f71b10418f535996bac94b190aa874900a0f7074"
},
"sideEffects": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ test('batch findUnique', async () => {
expect(sanitizeEvents(queries)[queries.length - 1]).toMatchInlineSnapshot(`
Object {
params: ["234cba9a-5cd9-4e00-a285-9955eb3bdf8f","9d9b7fd0-bfce-4017-945c-0ffaee1eb5f0","ad291441-9ce9-4e9f-9cbb-9fcfe15ea519","d36a2dfe-d8fd-488d-973c-bb1b1b082014","e7b2f865-59a0-4303-aa82-c7f9c1f86806","13b817ae-401c-40a8-8609-0da43f462d2e","4240fe9d-e363-484d-ae21-3ed7dc5a17fd","48ad17bb-ed9b-4590-a782-30a4f2cfab4e","7e23d607-dc38-458a-ba2c-586abf498d78","70ab5a89-9ded-4394-95e3-5265b714a11d",-1,0],
query: SELECT \`main\`.\`User\`.\`id\`, \`main\`.\`User\`.\`email\`, \`main\`.\`User\`.\`age\`, \`main\`.\`User\`.\`name\` FROM \`main\`.\`User\` WHERE \`main\`.\`User\`.\`id\` IN (?,?,?,?,?,?,?,?,?,?) LIMIT ? OFFSET ? /* traceparent=00-00-00-00 */,
query: SELECT \`main\`.\`User\`.\`id\`, \`main\`.\`User\`.\`email\`, \`main\`.\`User\`.\`age\`, \`main\`.\`User\`.\`name\` FROM \`main\`.\`User\` WHERE \`main\`.\`User\`.\`id\` IN (?,?,?,?,?,?,?,?,?,?) LIMIT ? OFFSET ?,
target: quaint::connector::metrics,
}
`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15527,7 +15527,7 @@ export namespace Prisma {
text?: StringFilter | string
bit?: StringFilter | string
vBit?: StringFilter | string
uuid?: StringFilter | string
uuid?: UuidFilter | string
}

export type COrderByWithRelationInput = {
Expand Down Expand Up @@ -15567,7 +15567,7 @@ export namespace Prisma {
text?: StringWithAggregatesFilter | string
bit?: StringWithAggregatesFilter | string
vBit?: StringWithAggregatesFilter | string
uuid?: StringWithAggregatesFilter | string
uuid?: UuidWithAggregatesFilter | string
}

export type DWhereInput = {
Expand Down Expand Up @@ -17885,6 +17885,18 @@ export namespace Prisma {
_max?: NestedDecimalFilter
}

export type UuidFilter = {
equals?: string
in?: Enumerable<string>
notIn?: Enumerable<string>
lt?: string
lte?: string
gt?: string
gte?: string
mode?: QueryMode
not?: NestedUuidFilter | string
}

export type CCountOrderByAggregateInput = {
id?: SortOrder
char?: SortOrder
Expand Down Expand Up @@ -17915,6 +17927,21 @@ export namespace Prisma {
uuid?: SortOrder
}

export type UuidWithAggregatesFilter = {
equals?: string
in?: Enumerable<string>
notIn?: Enumerable<string>
lt?: string
lte?: string
gt?: string
gte?: string
mode?: QueryMode
not?: NestedUuidWithAggregatesFilter | string
_count?: NestedIntFilter
_min?: NestedStringFilter
_max?: NestedStringFilter
}

export type BytesFilter = {
equals?: Buffer
in?: Enumerable<Buffer>
Expand Down Expand Up @@ -18673,6 +18700,31 @@ export namespace Prisma {
_max?: NestedDecimalFilter
}

export type NestedUuidFilter = {
equals?: string
in?: Enumerable<string>
notIn?: Enumerable<string>
lt?: string
lte?: string
gt?: string
gte?: string
not?: NestedUuidFilter | string
}

export type NestedUuidWithAggregatesFilter = {
equals?: string
in?: Enumerable<string>
notIn?: Enumerable<string>
lt?: string
lte?: string
gt?: string
gte?: string
not?: NestedUuidWithAggregatesFilter | string
_count?: NestedIntFilter
_min?: NestedStringFilter
_max?: NestedStringFilter
}

export type NestedBytesFilter = {
equals?: Buffer
in?: Enumerable<Buffer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ test('basic event logging - binary', async () => {
Object {
duration: 0,
params: [0],
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1 /* traceparent=00-00-00-00 */,
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1,
target: quaint::connector::metrics,
timestamp: 1970-01-01T00:00:00.000Z,
},
Expand Down Expand Up @@ -125,7 +125,7 @@ test('interactive transactions logging - binary', async () => {
Object {
duration: 0,
params: [0],
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1 /* traceparent=00-00-00-00 */,
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1,
target: quaint::connector::metrics,
timestamp: 1970-01-01T00:00:00.000Z,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ test('basic event logging - library', async () => {
Object {
duration: 0,
params: [0],
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1 /* traceparent=00-00-00-00 */,
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1,
target: quaint::connector::metrics,
timestamp: 1970-01-01T00:00:00.000Z,
},
Expand Down Expand Up @@ -118,7 +118,7 @@ test('interactive transactions logging - library', async () => {
Object {
duration: 0,
params: [0],
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1 /* traceparent=00-00-00-00 */,
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1,
target: quaint::connector::metrics,
timestamp: 1970-01-01T00:00:00.000Z,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('transaction', () => {
},
Object {
params: ["A"],
query: SELECT \`main\`.\`User\`.\`id\` FROM \`main\`.\`User\` WHERE \`main\`.\`User\`.\`name\` = ? /* traceparent=00-00-00-00 */,
query: SELECT \`main\`.\`User\`.\`id\` FROM \`main\`.\`User\` WHERE \`main\`.\`User\`.\`name\` = ?,
target: quaint::connector::metrics,
},
Object {
Expand Down Expand Up @@ -181,7 +181,7 @@ describe('transaction', () => {
},
Object {
params: ["A"],
query: SELECT \`main\`.\`User\`.\`id\` FROM \`main\`.\`User\` WHERE \`main\`.\`User\`.\`name\` = ? /* traceparent=00-00-00-00 */,
query: SELECT \`main\`.\`User\`.\`id\` FROM \`main\`.\`User\` WHERE \`main\`.\`User\`.\`name\` = ?,
target: quaint::connector::metrics,
},
Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ setupTestSuite(() => {
},
where: {
upvotes: {
isEmpty: true,
isEmpty: false,
},
},
},
Expand All @@ -155,7 +155,7 @@ setupTestSuite(() => {
deleteMany: {
where: {
upvotes: {
isEmpty: true,
isEmpty: false,
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,10 @@ setupTestSuite(({ contentProperty }) => {
upsert: {
update: {
// TODO: validation error if removed
text: 'Hello World',
text: 'Hello World update',
},
set: {
text: 'Hello World',
text: 'Hello World new',
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion packages/engines/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"author": "Tim Suchanek <[email protected]>",
"devDependencies": {
"@prisma/debug": "workspace:*",
"@prisma/engines-version": "4.4.0-12.ef027724572e12df6f7ce8c487bd5579b008cd71",
"@prisma/engines-version": "4.4.0-32.f71b10418f535996bac94b190aa874900a0f7074",
"@prisma/fetch-engine": "workspace:*",
"@prisma/get-platform": "workspace:*",
"@swc/core": "1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/fetch-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"bugs": "https://github.com/prisma/prisma/issues",
"enginesOverride": {},
"devDependencies": {
"@prisma/engines-version": "4.4.0-12.ef027724572e12df6f7ce8c487bd5579b008cd71",
"@prisma/engines-version": "4.4.0-32.f71b10418f535996bac94b190aa874900a0f7074",
"@swc/core": "1.3.1",
"@swc/jest": "0.2.22",
"@types/jest": "28.1.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/internals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@prisma/fetch-engine": "workspace:*",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "workspace:*",
"@prisma/prisma-fmt-wasm": "4.4.0-12.ef027724572e12df6f7ce8c487bd5579b008cd71",
"@prisma/prisma-fmt-wasm": "4.4.0-32.f71b10418f535996bac94b190aa874900a0f7074",
"archiver": "5.3.1",
"arg": "5.0.2",
"chalk": "4.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"version": "latest"
},
"devDependencies": {
"@prisma/engines-version": "4.4.0-12.ef027724572e12df6f7ce8c487bd5579b008cd71",
"@prisma/engines-version": "4.4.0-32.f71b10418f535996bac94b190aa874900a0f7074",
"@prisma/generator-helper": "workspace:*",
"@prisma/internals": "workspace:*",
"@swc/core": "1.3.1",
Expand Down
28 changes: 14 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.