_includes/api/en/5x/req-query.md
This property is an object containing a property for each query string parameter in the route.
When query parser is set to disabled, it is an empty object {}, otherwise it is the result of the configured query parser.
The value of this property can be configured with the query parser application setting to work how your application needs it. A very popular query string parser is the qs module, and this is used by default. The qs module is very configurable with many settings, and it may be desirable to use different settings than the default to populate req.query:
const qs = require('qs')
app.set('query parser',
(str) => qs.parse(str, { /* custom options */ }))
Check out the query parser application setting documentation for other customization options.