Logo
Explore Help
Sign In
tabshift/payloadcms
1
0
Fork 0
You've already forked payloadcms
Code Issues Pull Requests Actions 3 Packages Projects Releases Wiki Activity
Files
cd301ea5836a56bd40f9c9cc0fd77cac81c7916a
payloadcms/packages/db-d1-sqlite/src
History
Sasha 444ca0f439 fix(db-d1-sqlite): avoid bound parameter limit when querying relationships and inserting rows (#14099)
Fixes
https://discord.com/channels/967097582721572934/1422639568808841329/1425037080051978261

This PR avoids bound parameters usage for `IN` and `NOT_IN` querying on
`id` to respect the D1 limit
https://developers.cloudflare.com/d1/platform/limits/
And also batches inserts when inserting arrays/blocks/hasMany
relationships etc. This is needed because we can't avoid using bound
parameters there, but still want to respect the 100 variables limit per
query.
2025-10-07 13:55:44 +00:00
..
drizzle-proxy
feat: adds new Cloudflare D1 SQLite adapter, R2 storage adapter and Cloudflare template (#12537)
2025-09-29 16:58:18 -04:00
exports
feat: adds new Cloudflare D1 SQLite adapter, R2 storage adapter and Cloudflare template (#12537)
2025-09-29 16:58:18 -04:00
connect.ts
feat(db-*): adds support for readReplicas in D1 adapter config (#14040)
2025-10-04 00:31:21 +00:00
execute.ts
feat: adds new Cloudflare D1 SQLite adapter, R2 storage adapter and Cloudflare template (#12537)
2025-09-29 16:58:18 -04:00
index.ts
fix(db-d1-sqlite): avoid bound parameter limit when querying relationships and inserting rows (#14099)
2025-10-07 13:55:44 +00:00
types.ts
feat(db-*): adds support for readReplicas in D1 adapter config (#14040)
2025-10-04 00:31:21 +00:00
Powered by Gitea Version: 1.25.0 Page: 475ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API