Repo to reproduce issue #11454.
Main file is src/server.ts
npm start
curl "http://localhost:3000/data"
to get datacurl "http://localhost:3000/data?includeExtra=true"
to get data with extra info- Observe success, as it appends the string into the raw SQL
npm test
- Observe failure, as it attempts to use prepared statement