Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4fb55a9

Browse files
authored
feat(client-engine-runtime): remove outdated comment (#28928)
This PR closes[TML-1572](https://linear.app/prisma-company/issue/TML-1572/timebox-2h-normalize-error-message-in-functionalchunking-queryteststs),which is no longer relevant.The old query engine used to have a generic `Query parameter limitexceeded error: {message}.` error, which a few possible instances ofsaid dynamic `{message}`.`The query parameter limit supported by your database is exceeded.` isthe appropriate message for `js_pg` and `js_cockroachdb` in [thistest](https://github.com/prisma/prisma/blob/b45b2f7345f7158d51f9efe91eb8e732a2f2ec4d/packages/client/tests/functional/chunking-query/tests.ts#L180-L183),and can be found in[`prisma-engines`](https://github.com/search?q=repo%3Aprisma%2Fprisma-engines%20QueryParameterLimitExceeded&type=code)too. This means that we no longer need to "normalize" this errormessage.<!-- This is an auto-generated comment: release notes by coderabbit.ai-->## Summary by CodeRabbit* **Chores*** Removed internal documentation comment with no impact to functionalityor user experience.<sub>✏️ Tip: You can customize this high-level summary in your reviewsettings.</sub><!-- end of auto-generated comment: release notes by coderabbit.ai -->Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
1 parent815ba13 commit4fb55a9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎packages/client-engine-runtime/src/interpreter/render-query.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ export function renderQuery(
3030
constchunks=dbQuery.chunkable ?chunkParams(dbQuery.fragments,args,maxChunkSize) :[args]
3131
returnchunks.map((params)=>{
3232
if(maxChunkSize!==undefined&&params.length>maxChunkSize){
33-
// TODO: this should probably say something along the lines of `Query parameter limit exceeded error`, like in
34-
// https://github.com/prisma/prisma-engines/blob/9c30299f5a0ea26a96790e13f796dc6094db3173/libs/user-facing-errors/src/query_engine/mod.rs#L276.
3533
thrownewUserFacingError('The query parameter limit supported by your database is exceeded.','P2029')
3634
}
3735

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp