New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
D1_ERROR: Expression tree is too large (maximum depth 100) #23919
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
topic: chunking
topic: d1
Issues related to Cloudflare D1
topic: driverAdapters
topic: @prisma/adapter-d1
Comments
janpio
added
bug/1-unconfirmed
Bug should have enough information for reproduction, but confirmation has not happened yet.
team/client
Issue for team Client.
topic: @prisma/adapter-d1
topic: d1
Issues related to Cloudflare D1
topic: driverAdapters
topic: chunking
bug/2-confirmed
Bug has been reproduced and confirmed.
and removed
bug/1-unconfirmed
Bug should have enough information for reproduction, but confirmation has not happened yet.
labels
Apr 23, 2024
The query triggering the failure here seems to be the one for the See full reproduction: https://github.com/janpio/prisma-d1-variables-bug/tree/janpio/23919 (Based on reproduction from #23743) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
topic: chunking
topic: d1
Issues related to Cloudflare D1
topic: driverAdapters
topic: @prisma/adapter-d1
Bug description
When using
connect: string[]
in an update or create query and connecting more than 100 items, it breaks when using Cloudflare D1. The error message is:Here's the full sql query being generated:
How to reproduce
Connect more than 100 items in a relation when using the D1 adapter.
Expected behavior
It works fine and does not throw any error.
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: