| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:56b629c8-c749-b963-cf4f-1c48d68dd690 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CDE2:50029:17AF756:22463E4:6A4BC46E |
| html-safe-nonce | 9b17cf37bc6f5dcf7c6793de5eafdd419539d7ecf6e8e12dd6f3e1de9fc48052 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREUyOjUwMDI5OjE3QUY3NTY6MjI0NjNFNDo2QTRCQzQ2RSIsInZpc2l0b3JfaWQiOiIyMzM1OTkwNTIwMzE5MDM0NDc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f36753f88712eb4c69a4476e8485cc0d9e28240b347a771b94f1e89f5c9060a9 |
| hovercard-subject-tag | pull_request:3519382204 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/typeorm/typeorm/12344/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/3f8bb4f90a87c79f6cd0acddf2a26671e87fa30387a91e902d8e457c611a57c6/typeorm/typeorm/pull/12344 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f8bb4f90a87c79f6cd0acddf2a26671e87fa30387a91e902d8e457c611a57c6/typeorm/typeorm/pull/12344 |
| og:image:alt | Summary
Fixes #12333. Replaces #12336 which was accidentally closed when the fork was deleted.
User-provided identifiers passed to useIndex() and setLock() lockTables were interpolated directly int... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eddieran |
| hostname | github.com |
| expected-hostname | github.com |
| None | 14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7 |
| turbo-cache-control | no-cache |
| go-import | github.com/typeorm/typeorm git https://github.com/typeorm/typeorm.git |
| octolytics-dimension-user_id | 20165699 |
| octolytics-dimension-user_login | typeorm |
| octolytics-dimension-repository_id | 52773157 |
| octolytics-dimension-repository_nwo | typeorm/typeorm |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 52773157 |
| octolytics-dimension-repository_network_root_nwo | typeorm/typeorm |
| 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 | 58b8f89190447502561829f30862aa0a99d53367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/typeorm/typeorm/pull/12344#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftypeorm%2Ftypeorm%2Fpull%2F12344 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftypeorm%2Ftypeorm%2Fpull%2F12344 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=typeorm%2Ftypeorm |
| Reload | https://github.com/typeorm/typeorm/pull/12344 |
| Reload | https://github.com/typeorm/typeorm/pull/12344 |
| Reload | https://github.com/typeorm/typeorm/pull/12344 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
|
typeorm
| https://github.com/typeorm |
| typeorm | https://github.com/typeorm/typeorm |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
|
Notifications
| https://github.com/login?return_to=%2Ftypeorm%2Ftypeorm |
|
Fork
6.6k
| https://github.com/login?return_to=%2Ftypeorm%2Ftypeorm |
|
Star
36.6k
| https://github.com/login?return_to=%2Ftypeorm%2Ftypeorm |
|
Code
| https://github.com/typeorm/typeorm |
|
Issues
418
| https://github.com/typeorm/typeorm/issues |
|
Pull requests
128
| https://github.com/typeorm/typeorm/pulls |
|
Discussions
| https://github.com/typeorm/typeorm/discussions |
|
Actions
| https://github.com/typeorm/typeorm/actions |
|
Security and quality
1
| https://github.com/typeorm/typeorm/security |
|
Insights
| https://github.com/typeorm/typeorm/pulse |
|
Code
| https://github.com/typeorm/typeorm |
|
Issues
| https://github.com/typeorm/typeorm/issues |
|
Pull requests
| https://github.com/typeorm/typeorm/pulls |
|
Discussions
| https://github.com/typeorm/typeorm/discussions |
|
Actions
| https://github.com/typeorm/typeorm/actions |
|
Security and quality
| https://github.com/typeorm/typeorm/security |
|
Insights
| https://github.com/typeorm/typeorm/pulse |
| alumni | https://github.com/alumni |
| typeorm:master | https://github.com/typeorm/typeorm/tree/master |
| eddieran:fix/querybuilder-sql-injection | https://github.com/eddieran/typeorm/tree/fix/querybuilder-sql-injection |
| Conversation | https://github.com/typeorm/typeorm/pull/12344 |
| Commits11 (11) | https://github.com/typeorm/typeorm/pull/12344/commits |
| Checks | https://github.com/typeorm/typeorm/pull/12344/checks |
| Files changed | https://github.com/typeorm/typeorm/pull/12344/files |
| fix(mysql)!: use index identifiers instead of raw SQL in QB.useIndex() | https://github.com/typeorm/typeorm/pull/12344#top |
| alumni | https://github.com/alumni |
| typeorm:master | https://github.com/typeorm/typeorm/tree/master |
| eddieran:fix/querybuilder-sql-injection | https://github.com/eddieran/typeorm/tree/fix/querybuilder-sql-injection |
|
| https://github.com/eddieran |
| eddieran | https://github.com/eddieran |
| Apr 12, 2026 | https://github.com/typeorm/typeorm/pull/12344#issue-4248056248 |
| #12333 | https://github.com/typeorm/typeorm/issues/12333 |
| #12336 | https://github.com/typeorm/typeorm/pull/12336 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
|
| https://github.com/eddieran |
| fix: escape identifiers in useIndex() and setLock lockTables | https://github.com/typeorm/typeorm/pull/12344/commits/5d7936c9a9bcf2e6fc6baf3c2058aaf9d9b57c46 |
| 5d7936c | https://github.com/typeorm/typeorm/pull/12344/commits/5d7936c9a9bcf2e6fc6baf3c2058aaf9d9b57c46 |
| typeorm#12333 | https://github.com/typeorm/typeorm/issues/12333 |
| https://github.com/eddieran |
| eddieran | https://github.com/eddieran |
|
Apr 12, 2026
| https://github.com/typeorm/typeorm/pull/12344#ref-issue-4235214130 |
|
QueryBuilder: useIndex(), setLock(lockTables) should escape indices and tables
#12333
| https://github.com/typeorm/typeorm/issues/12333 |
| https://github.com/apps/qodo-free-for-open-source-projects |
| qodo-free-for-open-source-projects | https://github.com/apps/qodo-free-for-open-source-projects |
| Apr 12, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4231544314 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://camo.githubusercontent.com/0437404afb12f7a6ceecc93431165d4fbba4d49a0bc08af82b10d25c7cbc37dc/68747470733a2f2f7777772e716f646f2e61692f77702d636f6e74656e742f75706c6f6164732f323032352f31312f6c696768742d677265792d6c696e652e737667 |
| https://camo.githubusercontent.com/f75b34805052e82daae9e4ca4c88ea936b43ab2bcb06a2ef12a023ae71d88d1b/68747470733a2f2f7777772e716f646f2e61692f77702d636f6e74656e742f75706c6f6164732f323032362f30312f616374696f6e2d72657175697265642e706e67 |
| src/query-builder/SelectQueryBuilder.ts[R1529-1536] | https://github.com/typeorm/typeorm/pull/12344/files#diff-52bea788267888fdbb5f795f0dfb61504f16bd43e0afdfa28848abb4435121b5R1529-R1536 |
| src/query-builder/SelectQueryBuilder.ts[1529-1536] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/SelectQueryBuilder.ts/#L1529-L1536 |
| docs/docs/query-builder/1-select-query-builder.md[1022-1032] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/docs/docs/query-builder/1-select-query-builder.md/#L1022-L1032 |
| test/functional/query-builder/sql-injection/sql-injection.test.ts[R299-301] | https://github.com/typeorm/typeorm/pull/12344/files#diff-481fd104274eeaf9639b16fc9960be83af771da47aa887fb12f9664791bfb9ccR299-R301 |
| test/functional/query-builder/sql-injection/sql-injection.test.ts[299-301] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/test/functional/query-builder/sql-injection/sql-injection.test.ts/#L299-L301 |
| test/functional/query-builder/sql-injection/sql-injection.test.ts[317-319] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/test/functional/query-builder/sql-injection/sql-injection.test.ts/#L317-L319 |
| test/functional/query-builder/sql-injection/sql-injection.test.ts[332-334] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/test/functional/query-builder/sql-injection/sql-injection.test.ts/#L332-L334 |
| test/functional/query-builder/sql-injection/sql-injection.test.ts[352-354] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/test/functional/query-builder/sql-injection/sql-injection.test.ts/#L352-L354 |
| test/functional/query-builder/sql-injection/sql-injection.test.ts[370-372] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/test/functional/query-builder/sql-injection/sql-injection.test.ts/#L370-L372 |
| src/query-builder/SelectQueryBuilder.ts[R2802-2806] | https://github.com/typeorm/typeorm/pull/12344/files#diff-52bea788267888fdbb5f795f0dfb61504f16bd43e0afdfa28848abb4435121b5R2802-R2806 |
| src/query-builder/SelectQueryBuilder.ts[2789-2807] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/SelectQueryBuilder.ts/#L2789-L2807 |
| src/query-builder/SelectQueryBuilder.ts[3359-3387] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/SelectQueryBuilder.ts/#L3359-L3387 |
| src/query-builder/QueryBuilder.ts[570-583] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/QueryBuilder.ts/#L570-L583 |
| src/driver/postgres/PostgresDriver.ts[1059-1066] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/driver/postgres/PostgresDriver.ts/#L1059-L1066 |
| test/functional/repository/find-options-locking/find-options-locking.test.ts[644-688] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/test/functional/repository/find-options-locking/find-options-locking.test.ts/#L644-L688 |
| src/query-builder/SelectQueryBuilder.ts[2304] | https://github.com/typeorm/typeorm/pull/12344/files#diff-52bea788267888fdbb5f795f0dfb61504f16bd43e0afdfa28848abb4435121b5R2304-R2304 |
| src/query-builder/SelectQueryBuilder.ts[2300-2306] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/SelectQueryBuilder.ts/#L2300-L2306 |
| test/functional/query-builder/select/query-builder-select.test.ts[626-640] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/test/functional/query-builder/select/query-builder-select.test.ts/#L626-L640 |
| https://camo.githubusercontent.com/4306271c33676fb5547dbf9f01437e02c7e30be9a364569061a6235efff2d6e0/68747470733a2f2f7777772e716f646f2e61692f77702d636f6e74656e742f75706c6f6164732f323032362f30312f7265766965772d7265636f6d6d656e6465642e706e67 |
| src/query-builder/QueryExpressionMap.ts[175] | https://github.com/typeorm/typeorm/pull/12344/files#diff-5d8c9ff33d77f98ef86a71a0d77d5571c3a09809eae22bb383337dfc2dbd3633R175-R175 |
| src/query-builder/QueryExpressionMap.ts[168-176] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/QueryExpressionMap.ts/#L168-L176 |
| src/query-builder/QueryBuilder.ts[70-74] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/QueryBuilder.ts/#L70-L74 |
| src/index.ts[137-146] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/index.ts/#L137-L146 |
| src/query-builder/SelectQueryBuilder.ts[R2291-2294] | https://github.com/typeorm/typeorm/pull/12344/files#diff-52bea788267888fdbb5f795f0dfb61504f16bd43e0afdfa28848abb4435121b5R2291-R2294 |
| src/query-builder/SelectQueryBuilder.ts[2287-2296] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/SelectQueryBuilder.ts/#L2287-L2296 |
| src/driver/mysql/MysqlDriver.ts[529-536] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/driver/mysql/MysqlDriver.ts/#L529-L536 |
| src/query-builder/QueryExpressionMap.ts[168-175] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/QueryExpressionMap.ts/#L168-L175 |
| src/query-builder/SelectQueryBuilder.ts[2304] | https://github.com/typeorm/typeorm/pull/12344/files#diff-52bea788267888fdbb5f795f0dfb61504f16bd43e0afdfa28848abb4435121b5R2304-R2304 |
| src/query-builder/SelectQueryBuilder.ts[2300-2306] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/SelectQueryBuilder.ts/#L2300-L2306 |
| src/query-builder/SelectQueryBuilder.ts[2787-2800] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/SelectQueryBuilder.ts/#L2787-L2800 |
| src/query-builder/QueryBuilder.ts[567-583] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/QueryBuilder.ts/#L567-L583 |
| #12333 | https://github.com/typeorm/typeorm/issues/12333 |
| test/functional/query-builder/sql-injection/sql-injection.test.ts[R535-640] | https://github.com/typeorm/typeorm/pull/12344/files#diff-481fd104274eeaf9639b16fc9960be83af771da47aa887fb12f9664791bfb9ccR535-R640 |
| test/functional/query-builder/sql-injection/sql-injection.test.ts[535-640] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/test/functional/query-builder/sql-injection/sql-injection.test.ts/#L535-L640 |
| src/query-builder/SelectQueryBuilder.ts[2799] | https://github.com/typeorm/typeorm/pull/12344/files#diff-52bea788267888fdbb5f795f0dfb61504f16bd43e0afdfa28848abb4435121b5R2799-R2799 |
| src/query-builder/SelectQueryBuilder.ts[2788-2800] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/SelectQueryBuilder.ts/#L2788-L2800 |
| test/functional/query-builder/locking/query-builder-locking.test.ts[707-733] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/test/functional/query-builder/locking/query-builder-locking.test.ts/#L707-L733 |
| src/query-builder/SelectQueryBuilder.ts[2304] | https://github.com/typeorm/typeorm/pull/12344/files#diff-52bea788267888fdbb5f795f0dfb61504f16bd43e0afdfa28848abb4435121b5R2304-R2304 |
| src/query-builder/SelectQueryBuilder.ts[2300-2306] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/SelectQueryBuilder.ts/#L2300-L2306 |
| src/query-builder/QueryExpressionMap.ts[168-175] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/QueryExpressionMap.ts/#L168-L175 |
| src/driver/mysql/MysqlDriver.ts[529-536] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/driver/mysql/MysqlDriver.ts/#L529-L536 |
| https://camo.githubusercontent.com/e366b7dce337465dba8ad15b4012b112e0a6e1a401e4a497879c70182ec79930/68747470733a2f2f7777772e716f646f2e61692f77702d636f6e74656e742f75706c6f6164732f323032362f30312f6f746865722e706e67 |
| src/query-builder/SelectQueryBuilder.ts[R1533-1536] | https://github.com/typeorm/typeorm/pull/12344/files#diff-52bea788267888fdbb5f795f0dfb61504f16bd43e0afdfa28848abb4435121b5R1533-R1536 |
| src/query-builder/SelectQueryBuilder.ts[1529-1537] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/SelectQueryBuilder.ts/#L1529-L1537 |
| src/query-builder/QueryExpressionMap.ts[506-516] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/QueryExpressionMap.ts/#L506-L516 |
| src/query-builder/QueryExpressionMap.ts[168-176] | https://github.com/typeorm/typeorm/blob/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012/src/query-builder/QueryExpressionMap.ts/#L168-L176 |
| https://camo.githubusercontent.com/0437404afb12f7a6ceecc93431165d4fbba4d49a0bc08af82b10d25c7cbc37dc/68747470733a2f2f7777772e716f646f2e61692f77702d636f6e74656e742f75706c6f6164732f323032352f31312f6c696768742d677265792d6c696e652e737667 |
| https://www.qodo.ai |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/smith-xyz |
| smith-xyz | https://github.com/smith-xyz |
|
bug
| https://github.com/typeorm/typeorm/issues?q=state%3Aopen%20label%3Abug |
|
comp: query builder
| https://github.com/typeorm/typeorm/issues?q=state%3Aopen%20label%3A%22comp%3A%20query%20builder%22 |
|
security
| https://github.com/typeorm/typeorm/issues?q=state%3Aopen%20label%3Asecurity |
| Apr 13, 2026 | https://github.com/typeorm/typeorm/pull/12344#event-24456458143 |
| https://github.com/smith-xyz |
| smith-xyz | https://github.com/smith-xyz |
|
Apr 13, 2026
| https://github.com/typeorm/typeorm/pull/12344#pullrequestreview-4100724110 |
|
View reviewed changes
| https://github.com/typeorm/typeorm/pull/12344/files/5d7936c9a9bcf2e6fc6baf3c2058aaf9d9b57c46 |
| smith-xyz | https://github.com/smith-xyz |
| https://github.com/typeorm/typeorm/pull/12344#pullrequestreview-4100724110 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
|
| https://github.com/eddieran |
| test: add SQL injection tests for useIndex() and setLock lockTables | https://github.com/typeorm/typeorm/pull/12344/commits/9984aaac1c3cbb57257e9be4690ec2fb170e1144 |
| 9984aaa | https://github.com/typeorm/typeorm/pull/12344/commits/9984aaac1c3cbb57257e9be4690ec2fb170e1144 |
| https://github.com/eddieran |
| eddieran | https://github.com/eddieran |
| Apr 14, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4241493347 |
| @smith-xyz | https://github.com/smith-xyz |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/apps/sonarqubecloud |
| sonarqubecloud | https://github.com/apps/sonarqubecloud |
| Apr 14, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4241495676 |
| https://sonarcloud.io/dashboard?id=typeorm_typeorm&pullRequest=12344 |
| https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67 |
| 0 New issues | https://sonarcloud.io/project/issues?id=typeorm_typeorm&pullRequest=12344&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true |
| https://camo.githubusercontent.com/5ad34d7e6f2a5aa0d644209f46bb24fba00f31f704923ce46fe8434f94917f73/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f61636365707465642d313670782e706e67 |
| 0 Accepted issues | https://sonarcloud.io/project/issues?id=typeorm_typeorm&pullRequest=12344&issueStatuses=ACCEPTED |
| https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67 |
| 0 Security Hotspots | https://sonarcloud.io/project/security_hotspots?id=typeorm_typeorm&pullRequest=12344&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true |
| https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67 |
| 0.0% Coverage on New Code | https://sonarcloud.io/component_measures?id=typeorm_typeorm&pullRequest=12344&metric=new_coverage&view=list |
| https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67 |
| 0.0% Duplication on New Code | https://sonarcloud.io/component_measures?id=typeorm_typeorm&pullRequest=12344&metric=new_duplicated_lines_density&view=list |
| See analysis details on SonarQube Cloud | https://sonarcloud.io/dashboard?id=typeorm_typeorm&pullRequest=12344 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/apps/qodo-free-for-open-source-projects |
| qodo-free-for-open-source-projects | https://github.com/apps/qodo-free-for-open-source-projects |
| Apr 14, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4241512448 |
| Persistent review | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4231544314 |
| 9984aaa | https://github.com/typeorm/typeorm/commit/9984aaac1c3cbb57257e9be4690ec2fb170e1144 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/smith-xyz |
| smith-xyz | https://github.com/smith-xyz |
|
Apr 16, 2026
| https://github.com/typeorm/typeorm/pull/12344#pullrequestreview-4121215056 |
|
View reviewed changes
| https://github.com/typeorm/typeorm/pull/12344/files/9500618daf3bad7292068c0ba8ca9fc633286386 |
| smith-xyz | https://github.com/smith-xyz |
| https://github.com/typeorm/typeorm/pull/12344#pullrequestreview-4121215056 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/gioboa |
| gioboa | https://github.com/gioboa |
|
Apr 16, 2026
| https://github.com/typeorm/typeorm/pull/12344#pullrequestreview-4121426748 |
|
View reviewed changes
| https://github.com/typeorm/typeorm/pull/12344/files/9500618daf3bad7292068c0ba8ca9fc633286386 |
|
| https://github.com/gioboa |
| Merge branch 'master' into fix/querybuilder-sql-injection | https://github.com/typeorm/typeorm/pull/12344/commits/9500618daf3bad7292068c0ba8ca9fc633286386 |
| 9500618 | https://github.com/typeorm/typeorm/pull/12344/commits/9500618daf3bad7292068c0ba8ca9fc633286386 |
| https://github.com/apps/pkg-pr-new |
| pkg-pr-new | https://github.com/apps/pkg-pr-new |
| Apr 16, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4260617148 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| typeorm-sql-js-example | https://pkg.pr.new/template/68877e9a-1ca0-4636-a54c-e9308b6748fc |
| 3a4efeb | https://github.com/typeorm/typeorm/runs/76155287773 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/gioboa |
| gioboa | https://github.com/gioboa |
| Apr 16, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4260617907 |
| @eddieran | https://github.com/eddieran |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/alumni |
| alumni | https://github.com/alumni |
|
Apr 16, 2026
| https://github.com/typeorm/typeorm/pull/12344#pullrequestreview-4121477536 |
|
View reviewed changes
| https://github.com/typeorm/typeorm/pull/12344/files/9984aaac1c3cbb57257e9be4690ec2fb170e1144 |
| src/query-builder/SelectQueryBuilder.ts | https://github.com/typeorm/typeorm/pull/12344/files/9984aaac1c3cbb57257e9be4690ec2fb170e1144#diff-52bea788267888fdbb5f795f0dfb61504f16bd43e0afdfa28848abb4435121b5 |
| alumni | https://github.com/alumni |
| Apr 16, 2026 | https://github.com/typeorm/typeorm/pull/12344#discussion_r3093748423 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/alumni |
| alumni | https://github.com/alumni |
|
Apr 16, 2026
| https://github.com/typeorm/typeorm/pull/12344#pullrequestreview-4121478914 |
|
View reviewed changes
| https://github.com/typeorm/typeorm/pull/12344/files/9984aaac1c3cbb57257e9be4690ec2fb170e1144 |
| https://github.com/pkuczynski |
| pkuczynski | https://github.com/pkuczynski |
| Apr 16, 2026 | https://github.com/typeorm/typeorm/pull/12344#event-24569668348 |
| https://github.com/apps/qodo-free-for-open-source-projects |
| qodo-free-for-open-source-projects | https://github.com/apps/qodo-free-for-open-source-projects |
| Apr 16, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4260680821 |
| Persistent review | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4231544314 |
| 9500618 | https://github.com/typeorm/typeorm/commit/9500618daf3bad7292068c0ba8ca9fc633286386 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| eddieran | https://github.com/eddieran |
| April 17, 2026 06:01 | https://github.com/typeorm/typeorm/pull/12344#commits-pushed-6761fcb |
|
| https://github.com/eddieran |
| fix: update locking test expectations and apply prettier | https://github.com/typeorm/typeorm/pull/12344/commits/6761fcbac46c890e12f2f43d955d9b078d86cac5 |
| 6761fcb | https://github.com/typeorm/typeorm/pull/12344/commits/6761fcbac46c890e12f2f43d955d9b078d86cac5 |
|
| https://github.com/eddieran |
| Merge remote-tracking branch 'upstream/master' into fix/querybuilder-… | https://github.com/typeorm/typeorm/pull/12344/commits/3a154e60a3d54fa2907e169f739912659a37ef7a |
| 3a154e6 | https://github.com/typeorm/typeorm/pull/12344/commits/3a154e60a3d54fa2907e169f739912659a37ef7a |
| https://github.com/apps/qodo-free-for-open-source-projects |
| qodo-free-for-open-source-projects | https://github.com/apps/qodo-free-for-open-source-projects |
| Apr 16, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4263724909 |
| Persistent review | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4231544314 |
| 3a154e6 | https://github.com/typeorm/typeorm/commit/3a154e60a3d54fa2907e169f739912659a37ef7a |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/alumni |
| alumni | https://github.com/alumni |
|
Apr 24, 2026
| https://github.com/typeorm/typeorm/pull/12344#pullrequestreview-4173751086 |
|
View reviewed changes
| https://github.com/typeorm/typeorm/pull/12344/files/3a154e60a3d54fa2907e169f739912659a37ef7a |
| src/query-builder/SelectQueryBuilder.ts | https://github.com/typeorm/typeorm/pull/12344/files/3a154e60a3d54fa2907e169f739912659a37ef7a#diff-52bea788267888fdbb5f795f0dfb61504f16bd43e0afdfa28848abb4435121b5 |
| alumni | https://github.com/alumni |
| Apr 24, 2026 | https://github.com/typeorm/typeorm/pull/12344#discussion_r3140599431 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/alumni |
| alumni | https://github.com/alumni |
| pkuczynski | https://github.com/pkuczynski |
| Apr 24, 2026 | https://github.com/typeorm/typeorm/pull/12344#event-24854857458 |
| alumni | https://github.com/alumni |
| May 5, 2026 01:02 | https://github.com/typeorm/typeorm/pull/12344#commits-pushed-3d71e15 |
|
| https://github.com/alumni |
| Merge remote-tracking branch 'upstream/master' into pr/eddieran/12344 | https://github.com/typeorm/typeorm/pull/12344/commits/3d71e15c1cebefd2febfa659813de6ae384da574 |
| 3d71e15 | https://github.com/typeorm/typeorm/pull/12344/commits/3d71e15c1cebefd2febfa659813de6ae384da574 |
|
| https://github.com/smith-xyz |
| Merge branch 'master' into fix/querybuilder-sql-injection | https://github.com/typeorm/typeorm/pull/12344/commits/a8ecfd03a1d2cac3d233dd0b39979d6e51f60630 |
| a8ecfd0 | https://github.com/typeorm/typeorm/pull/12344/commits/a8ecfd03a1d2cac3d233dd0b39979d6e51f60630 |
| https://github.com/smith-xyz |
| smith-xyz | https://github.com/smith-xyz |
| May 6, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4390689749 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| @eddieran | https://github.com/eddieran |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/alumni |
| alumni | https://github.com/alumni |
| May 7, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4396136578 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| #3 | https://github.com/typeorm/typeorm/issues/3 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/michaelbromley |
| michaelbromley | https://github.com/michaelbromley |
| May 7, 2026 | https://github.com/typeorm/typeorm/pull/12344#event-25263333887 |
| https://github.com/eddieran |
| eddieran | https://github.com/eddieran |
| May 9, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4412666792 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/michaelbromley |
| michaelbromley | https://github.com/michaelbromley |
| May 11, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4424498251 |
| @eddieran | https://github.com/eddieran |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| michaelbromley | https://github.com/michaelbromley |
| May 12, 2026 21:20 | https://github.com/typeorm/typeorm/pull/12344#commits-pushed-95e1a94 |
|
| https://github.com/michaelbromley |
| Merge branch 'master' into fix/querybuilder-sql-injection | https://github.com/typeorm/typeorm/pull/12344/commits/95e1a94e679eb8e75d7a1910d3392f0242956e38 |
| 95e1a94 | https://github.com/typeorm/typeorm/pull/12344/commits/95e1a94e679eb8e75d7a1910d3392f0242956e38 |
|
| https://github.com/michaelbromley |
| refactor(query-builder)!: change useIndex signature to accept string[] | https://github.com/typeorm/typeorm/pull/12344/commits/ac5b51188439f1647a902062684b2165166af1db |
| ac5b511 | https://github.com/typeorm/typeorm/pull/12344/commits/ac5b51188439f1647a902062684b2165166af1db |
| https://github.com/michaelbromley |
| michaelbromley | https://github.com/michaelbromley |
| May 12, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4434308128 |
| @eddieran | https://github.com/eddieran |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/alumni |
| alumni | https://github.com/alumni |
|
May 15, 2026
| https://github.com/typeorm/typeorm/pull/12344#pullrequestreview-4296883006 |
|
View reviewed changes
| https://github.com/typeorm/typeorm/pull/12344/files/c793066681918c2b3f42c5ae52aec072f226dfdb |
|
| https://github.com/gioboa |
| Merge branch 'master' into fix/querybuilder-sql-injection | https://github.com/typeorm/typeorm/pull/12344/commits/c793066681918c2b3f42c5ae52aec072f226dfdb |
| c793066 | https://github.com/typeorm/typeorm/pull/12344/commits/c793066681918c2b3f42c5ae52aec072f226dfdb |
| https://github.com/gioboa |
| gioboa | https://github.com/gioboa |
| May 15, 2026 09:12 | https://github.com/typeorm/typeorm/pull/12344#event-25568133593 |
| https://github.com/alumni |
| alumni | https://github.com/alumni |
| May 15, 2026 09:16 | https://github.com/typeorm/typeorm/pull/12344#event-25568258800 |
| https://github.com/alumni |
| alumni | https://github.com/alumni |
| May 15, 2026 | https://github.com/typeorm/typeorm/pull/12344#issuecomment-4458551962 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
|
| https://github.com/alumni |
| docs: add mention to useIndex` in upgrading guide | https://github.com/typeorm/typeorm/pull/12344/commits/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012 |
| 3a4efeb | https://github.com/typeorm/typeorm/pull/12344/commits/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012 |
| https://github.com/alumni |
| alumni | https://github.com/alumni |
| May 15, 2026 | https://github.com/typeorm/typeorm/pull/12344#event-25568864944 |
| https://github.com/alumni |
| alumni | https://github.com/alumni |
| May 15, 2026 09:35 | https://github.com/typeorm/typeorm/pull/12344#event-25568883497 |
| https://github.com/alumni |
| alumni | https://github.com/alumni |
| 9440998 | https://github.com/typeorm/typeorm/commit/94409985628f1ac1952cda925d9617e5dc425987 |
| May 15, 2026 | https://github.com/typeorm/typeorm/pull/12344#event-25569255097 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| 1.0 | https://github.com/typeorm/typeorm/milestone/11 |
| May 15, 2026 | https://github.com/typeorm/typeorm/pull/12344#event-25569261165 |
| https://github.co/hiddenchars |
| https://github.com/typeorm/typeorm/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftypeorm%2Ftypeorm%2Fpull%2F12344 |
|
| https://github.com/alumni |
|
alumni
| https://github.com/alumni |
|
| https://github.com/typeorm/typeorm/pull/12344/files/c793066681918c2b3f42c5ae52aec072f226dfdb |
|
| https://github.com/gioboa |
|
gioboa
| https://github.com/gioboa |
|
| https://github.com/typeorm/typeorm/pull/12344/files/9500618daf3bad7292068c0ba8ca9fc633286386 |
|
| https://github.com/smith-xyz |
|
smith-xyz
| https://github.com/smith-xyz |
|
| https://github.com/typeorm/typeorm/pull/12344/files/9500618daf3bad7292068c0ba8ca9fc633286386 |
|
| https://github.com/michaelbromley |
|
michaelbromley
| https://github.com/michaelbromley |
|
bug
| https://github.com/typeorm/typeorm/issues?q=state%3Aopen%20label%3Abug |
|
comp: query builder
| https://github.com/typeorm/typeorm/issues?q=state%3Aopen%20label%3A%22comp%3A%20query%20builder%22 |
|
security
| https://github.com/typeorm/typeorm/issues?q=state%3Aopen%20label%3Asecurity |
|
1.0
| https://github.com/typeorm/typeorm/milestone/11 |
|
QueryBuilder: useIndex(), setLock(lockTables) should escape indices and tables
| https://github.com/typeorm/typeorm/issues/12333 |
| Please reload this page | https://github.com/typeorm/typeorm/pull/12344 |
|
| https://github.com/eddieran |
|
| https://github.com/gioboa |
|
| https://github.com/smith-xyz |
|
| https://github.com/alumni |
|
| https://github.com/michaelbromley |
|
| https://github.com/pkuczynski |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |