Title: feat(sqlite): option to avoid pushing parameters to the stack · Issue #57932 · nodejs/node · GitHub
Open Graph Title: feat(sqlite): option to avoid pushing parameters to the stack · Issue #57932 · nodejs/node
X Title: feat(sqlite): option to avoid pushing parameters to the stack · Issue #57932 · nodejs/node
Description: What is the problem this feature will solve? At the moment the only way to pass sqlite anonymous parameters is via the stack. This presents a problem as you can encounter a RangeError: Maximum call stack size exceeded when passing parame...
Open Graph Description: What is the problem this feature will solve? At the moment the only way to pass sqlite anonymous parameters is via the stack. This presents a problem as you can encounter a RangeError: Maximum call...
X Description: What is the problem this feature will solve? At the moment the only way to pass sqlite anonymous parameters is via the stack. This presents a problem as you can encounter a RangeError: Maximum call...
Opengraph URL: https://github.com/nodejs/node/issues/57932
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(sqlite): option to avoid pushing parameters to the stack","articleBody":"### What is the problem this feature will solve?\n\nAt the moment the only way to pass sqlite anonymous parameters is via the stack. This presents a problem as you can encounter a `RangeError: Maximum call stack size exceeded` when passing parameters. \n\n\u003cdetails>\n \u003csummary>Example\u003c/summary>\n\n ```shell\n node --stack-size=50 # lowered to simulate the exception \n ```\n \n ```javascript\n import { DatabaseSync } from 'node:sqlite'\n \n const numbers = Array.from({ length: 1000 }, (_, index) => index)\n \n console.log(\n JSON.parse( \n new DatabaseSync(':memory:')\n .prepare(`select json_array(${numbers.map(() => '?')}) as numbers`)\n .get(...numbers).numbers\n )\n )\n ```\n\u003c/details>\n\n### What is the feature you are proposing to solve the problem?\n\nConsider providing functionality for binding anonymous parameters to SQLite queries without having to place them on the stack.\n\n### What alternatives have you considered?\n\n_No response_","author":{"url":"https://github.com/aidant","@type":"Person","name":"aidant"},"datePublished":"2025-04-19T04:24:07Z","url":"https://github.com/nodejs/node/issues/57932"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:903f7ac4-ce37-1e87-0b7c-ff6a33eaaee6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D8E:269AD9:2BC039B:3A6F0B9:6B01C9B7 |
| html-safe-nonce | 301203a73f3cc3fd22ab7d7cd3383f33698a4b5ba8871e78e2cff0738d52de41 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDhFOjI2OUFEOToyQkMwMzlCOjNBNkYwQjk6NkIwMUM5QjciLCJ2aXNpdG9yX2lkIjoiMTY0NDg1MTI1MDcxMTM0OTY4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 631967e629f0e2bab3c1067a49cea23c40184190906a0a4a2df8fa82f6f099cb |
| hovercard-subject-tag | issue:3006165680 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/57932/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4f88d6d22c642eb6dd54c2b19f68fd0b8d7dd0266ca7f5440d80115a981d2afd/nodejs/node/issues/57932 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4f88d6d22c642eb6dd54c2b19f68fd0b8d7dd0266ca7f5440d80115a981d2afd/nodejs/node/issues/57932 |
| og:image:alt | What is the problem this feature will solve? At the moment the only way to pass sqlite anonymous parameters is via the stack. This presents a problem as you can encounter a RangeError: Maximum call... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aidant |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width