René's URL Explorer Experiment


Title: fix(mysql)!: use index identifiers instead of raw SQL in `QB.useIndex()` by eddieran · Pull Request #12344 · typeorm/typeorm · GitHub

Open Graph Title: fix(mysql)!: use index identifiers instead of raw SQL in `QB.useIndex()` by eddieran · Pull Request #12344 · typeorm/typeorm

X Title: fix(mysql)!: use index identifiers instead of raw SQL in `QB.useIndex()` by eddieran · Pull Request #12344 · typeorm/typeorm

Description: TypeScript & JavaScript ORM for Node.js — supports PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, and more. - fix(mysql)!: use index identifiers instead of raw SQL in `QB.useIndex()` by eddieran · Pull Request #12344 · typeorm/typeorm

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/typeorm/typeorm/pull/12344

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:56b629c8-c749-b963-cf4f-1c48d68dd690
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCDE2:50029:17AF756:22463E4:6A4BC46E
html-safe-nonce9b17cf37bc6f5dcf7c6793de5eafdd419539d7ecf6e8e12dd6f3e1de9fc48052
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREUyOjUwMDI5OjE3QUY3NTY6MjI0NjNFNDo2QTRCQzQ2RSIsInZpc2l0b3JfaWQiOiIyMzM1OTkwNTIwMzE5MDM0NDc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf36753f88712eb4c69a4476e8485cc0d9e28240b347a771b94f1e89f5c9060a9
hovercard-subject-tagpull_request:3519382204
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/typeorm/typeorm/12344/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3f8bb4f90a87c79f6cd0acddf2a26671e87fa30387a91e902d8e457c611a57c6/typeorm/typeorm/pull/12344
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3f8bb4f90a87c79f6cd0acddf2a26671e87fa30387a91e902d8e457c611a57c6/typeorm/typeorm/pull/12344
og:image:altSummary 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeddieran
hostnamegithub.com
expected-hostnamegithub.com
None14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7
turbo-cache-controlno-cache
go-importgithub.com/typeorm/typeorm git https://github.com/typeorm/typeorm.git
octolytics-dimension-user_id20165699
octolytics-dimension-user_logintypeorm
octolytics-dimension-repository_id52773157
octolytics-dimension-repository_nwotypeorm/typeorm
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id52773157
octolytics-dimension-repository_network_root_nwotypeorm/typeorm
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release58b8f89190447502561829f30862aa0a99d53367
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/typeorm/typeorm/pull/12344
Reloadhttps://github.com/typeorm/typeorm/pull/12344
Reloadhttps://github.com/typeorm/typeorm/pull/12344
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
typeorm https://github.com/typeorm
typeormhttps://github.com/typeorm/typeorm
Please reload this pagehttps://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
alumnihttps://github.com/alumni
typeorm:masterhttps://github.com/typeorm/typeorm/tree/master
eddieran:fix/querybuilder-sql-injectionhttps://github.com/eddieran/typeorm/tree/fix/querybuilder-sql-injection
Conversationhttps://github.com/typeorm/typeorm/pull/12344
Commits11 (11)https://github.com/typeorm/typeorm/pull/12344/commits
Checkshttps://github.com/typeorm/typeorm/pull/12344/checks
Files changedhttps://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
alumnihttps://github.com/alumni
typeorm:masterhttps://github.com/typeorm/typeorm/tree/master
eddieran:fix/querybuilder-sql-injectionhttps://github.com/eddieran/typeorm/tree/fix/querybuilder-sql-injection
https://github.com/eddieran
eddieranhttps://github.com/eddieran
Apr 12, 2026https://github.com/typeorm/typeorm/pull/12344#issue-4248056248
#12333https://github.com/typeorm/typeorm/issues/12333
#12336https://github.com/typeorm/typeorm/pull/12336
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/eddieran
fix: escape identifiers in useIndex() and setLock lockTableshttps://github.com/typeorm/typeorm/pull/12344/commits/5d7936c9a9bcf2e6fc6baf3c2058aaf9d9b57c46
5d7936chttps://github.com/typeorm/typeorm/pull/12344/commits/5d7936c9a9bcf2e6fc6baf3c2058aaf9d9b57c46
typeorm#12333https://github.com/typeorm/typeorm/issues/12333
https://github.com/eddieran
eddieranhttps://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-projectshttps://github.com/apps/qodo-free-for-open-source-projects
Apr 12, 2026https://github.com/typeorm/typeorm/pull/12344#issuecomment-4231544314
Please reload this pagehttps://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
#12333https://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 pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/smith-xyz
smith-xyzhttps://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, 2026https://github.com/typeorm/typeorm/pull/12344#event-24456458143
https://github.com/smith-xyz
smith-xyzhttps://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-xyzhttps://github.com/smith-xyz
https://github.com/typeorm/typeorm/pull/12344#pullrequestreview-4100724110
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/eddieran
test: add SQL injection tests for useIndex() and setLock lockTableshttps://github.com/typeorm/typeorm/pull/12344/commits/9984aaac1c3cbb57257e9be4690ec2fb170e1144
9984aaahttps://github.com/typeorm/typeorm/pull/12344/commits/9984aaac1c3cbb57257e9be4690ec2fb170e1144
https://github.com/eddieran
eddieranhttps://github.com/eddieran
Apr 14, 2026https://github.com/typeorm/typeorm/pull/12344#issuecomment-4241493347
@smith-xyzhttps://github.com/smith-xyz
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/apps/sonarqubecloud
sonarqubecloudhttps://github.com/apps/sonarqubecloud
Apr 14, 2026https://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 issueshttps://sonarcloud.io/project/issues?id=typeorm_typeorm&pullRequest=12344&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/5ad34d7e6f2a5aa0d644209f46bb24fba00f31f704923ce46fe8434f94917f73/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f61636365707465642d313670782e706e67
0 Accepted issueshttps://sonarcloud.io/project/issues?id=typeorm_typeorm&pullRequest=12344&issueStatuses=ACCEPTED
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 Security Hotspotshttps://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 Codehttps://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 Codehttps://sonarcloud.io/component_measures?id=typeorm_typeorm&pullRequest=12344&metric=new_duplicated_lines_density&view=list
See analysis details on SonarQube Cloudhttps://sonarcloud.io/dashboard?id=typeorm_typeorm&pullRequest=12344
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/apps/qodo-free-for-open-source-projects
qodo-free-for-open-source-projectshttps://github.com/apps/qodo-free-for-open-source-projects
Apr 14, 2026https://github.com/typeorm/typeorm/pull/12344#issuecomment-4241512448
Persistent reviewhttps://github.com/typeorm/typeorm/pull/12344#issuecomment-4231544314
9984aaahttps://github.com/typeorm/typeorm/commit/9984aaac1c3cbb57257e9be4690ec2fb170e1144
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/smith-xyz
smith-xyzhttps://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-xyzhttps://github.com/smith-xyz
https://github.com/typeorm/typeorm/pull/12344#pullrequestreview-4121215056
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/gioboa
gioboahttps://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-injectionhttps://github.com/typeorm/typeorm/pull/12344/commits/9500618daf3bad7292068c0ba8ca9fc633286386
9500618https://github.com/typeorm/typeorm/pull/12344/commits/9500618daf3bad7292068c0ba8ca9fc633286386
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Apr 16, 2026https://github.com/typeorm/typeorm/pull/12344#issuecomment-4260617148
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
typeorm-sql-js-examplehttps://pkg.pr.new/template/68877e9a-1ca0-4636-a54c-e9308b6748fc
3a4efebhttps://github.com/typeorm/typeorm/runs/76155287773
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/gioboa
gioboahttps://github.com/gioboa
Apr 16, 2026https://github.com/typeorm/typeorm/pull/12344#issuecomment-4260617907
@eddieranhttps://github.com/eddieran
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/alumni
alumnihttps://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.tshttps://github.com/typeorm/typeorm/pull/12344/files/9984aaac1c3cbb57257e9be4690ec2fb170e1144#diff-52bea788267888fdbb5f795f0dfb61504f16bd43e0afdfa28848abb4435121b5
alumnihttps://github.com/alumni
Apr 16, 2026https://github.com/typeorm/typeorm/pull/12344#discussion_r3093748423
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/alumni
alumnihttps://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
pkuczynskihttps://github.com/pkuczynski
Apr 16, 2026https://github.com/typeorm/typeorm/pull/12344#event-24569668348
https://github.com/apps/qodo-free-for-open-source-projects
qodo-free-for-open-source-projectshttps://github.com/apps/qodo-free-for-open-source-projects
Apr 16, 2026https://github.com/typeorm/typeorm/pull/12344#issuecomment-4260680821
Persistent reviewhttps://github.com/typeorm/typeorm/pull/12344#issuecomment-4231544314
9500618https://github.com/typeorm/typeorm/commit/9500618daf3bad7292068c0ba8ca9fc633286386
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
eddieranhttps://github.com/eddieran
April 17, 2026 06:01https://github.com/typeorm/typeorm/pull/12344#commits-pushed-6761fcb
https://github.com/eddieran
fix: update locking test expectations and apply prettierhttps://github.com/typeorm/typeorm/pull/12344/commits/6761fcbac46c890e12f2f43d955d9b078d86cac5
6761fcbhttps://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
3a154e6https://github.com/typeorm/typeorm/pull/12344/commits/3a154e60a3d54fa2907e169f739912659a37ef7a
https://github.com/apps/qodo-free-for-open-source-projects
qodo-free-for-open-source-projectshttps://github.com/apps/qodo-free-for-open-source-projects
Apr 16, 2026https://github.com/typeorm/typeorm/pull/12344#issuecomment-4263724909
Persistent reviewhttps://github.com/typeorm/typeorm/pull/12344#issuecomment-4231544314
3a154e6https://github.com/typeorm/typeorm/commit/3a154e60a3d54fa2907e169f739912659a37ef7a
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/alumni
alumnihttps://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.tshttps://github.com/typeorm/typeorm/pull/12344/files/3a154e60a3d54fa2907e169f739912659a37ef7a#diff-52bea788267888fdbb5f795f0dfb61504f16bd43e0afdfa28848abb4435121b5
alumnihttps://github.com/alumni
Apr 24, 2026https://github.com/typeorm/typeorm/pull/12344#discussion_r3140599431
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/alumni
alumnihttps://github.com/alumni
pkuczynskihttps://github.com/pkuczynski
Apr 24, 2026https://github.com/typeorm/typeorm/pull/12344#event-24854857458
alumnihttps://github.com/alumni
May 5, 2026 01:02https://github.com/typeorm/typeorm/pull/12344#commits-pushed-3d71e15
https://github.com/alumni
Merge remote-tracking branch 'upstream/master' into pr/eddieran/12344https://github.com/typeorm/typeorm/pull/12344/commits/3d71e15c1cebefd2febfa659813de6ae384da574
3d71e15https://github.com/typeorm/typeorm/pull/12344/commits/3d71e15c1cebefd2febfa659813de6ae384da574
https://github.com/smith-xyz
Merge branch 'master' into fix/querybuilder-sql-injectionhttps://github.com/typeorm/typeorm/pull/12344/commits/a8ecfd03a1d2cac3d233dd0b39979d6e51f60630
a8ecfd0https://github.com/typeorm/typeorm/pull/12344/commits/a8ecfd03a1d2cac3d233dd0b39979d6e51f60630
https://github.com/smith-xyz
smith-xyzhttps://github.com/smith-xyz
May 6, 2026https://github.com/typeorm/typeorm/pull/12344#issuecomment-4390689749
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
@eddieranhttps://github.com/eddieran
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/alumni
alumnihttps://github.com/alumni
May 7, 2026https://github.com/typeorm/typeorm/pull/12344#issuecomment-4396136578
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
#3https://github.com/typeorm/typeorm/issues/3
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/michaelbromley
michaelbromleyhttps://github.com/michaelbromley
May 7, 2026https://github.com/typeorm/typeorm/pull/12344#event-25263333887
https://github.com/eddieran
eddieranhttps://github.com/eddieran
May 9, 2026https://github.com/typeorm/typeorm/pull/12344#issuecomment-4412666792
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/michaelbromley
michaelbromleyhttps://github.com/michaelbromley
May 11, 2026https://github.com/typeorm/typeorm/pull/12344#issuecomment-4424498251
@eddieranhttps://github.com/eddieran
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
michaelbromleyhttps://github.com/michaelbromley
May 12, 2026 21:20https://github.com/typeorm/typeorm/pull/12344#commits-pushed-95e1a94
https://github.com/michaelbromley
Merge branch 'master' into fix/querybuilder-sql-injectionhttps://github.com/typeorm/typeorm/pull/12344/commits/95e1a94e679eb8e75d7a1910d3392f0242956e38
95e1a94https://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
ac5b511https://github.com/typeorm/typeorm/pull/12344/commits/ac5b51188439f1647a902062684b2165166af1db
https://github.com/michaelbromley
michaelbromleyhttps://github.com/michaelbromley
May 12, 2026https://github.com/typeorm/typeorm/pull/12344#issuecomment-4434308128
@eddieranhttps://github.com/eddieran
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/alumni
alumnihttps://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-injectionhttps://github.com/typeorm/typeorm/pull/12344/commits/c793066681918c2b3f42c5ae52aec072f226dfdb
c793066https://github.com/typeorm/typeorm/pull/12344/commits/c793066681918c2b3f42c5ae52aec072f226dfdb
https://github.com/gioboa
gioboahttps://github.com/gioboa
May 15, 2026 09:12https://github.com/typeorm/typeorm/pull/12344#event-25568133593
https://github.com/alumni
alumnihttps://github.com/alumni
May 15, 2026 09:16https://github.com/typeorm/typeorm/pull/12344#event-25568258800
https://github.com/alumni
alumnihttps://github.com/alumni
May 15, 2026https://github.com/typeorm/typeorm/pull/12344#issuecomment-4458551962
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/alumni
docs: add mention to useIndex` in upgrading guidehttps://github.com/typeorm/typeorm/pull/12344/commits/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012
3a4efebhttps://github.com/typeorm/typeorm/pull/12344/commits/3a4efeba7bea3971bedbeb72ba8d7cf7c0b80012
https://github.com/alumni
alumnihttps://github.com/alumni
May 15, 2026https://github.com/typeorm/typeorm/pull/12344#event-25568864944
https://github.com/alumni
alumnihttps://github.com/alumni
May 15, 2026 09:35https://github.com/typeorm/typeorm/pull/12344#event-25568883497
https://github.com/alumni
alumnihttps://github.com/alumni
9440998https://github.com/typeorm/typeorm/commit/94409985628f1ac1952cda925d9617e5dc425987
May 15, 2026https://github.com/typeorm/typeorm/pull/12344#event-25569255097
Please reload this pagehttps://github.com/typeorm/typeorm/pull/12344
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
1.0https://github.com/typeorm/typeorm/milestone/11
May 15, 2026https://github.com/typeorm/typeorm/pull/12344#event-25569261165
https://github.co/hiddenchars
https://github.com/typeorm/typeorm/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.