You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When sanitizing inputs it would be helpful to be able to pass all possible things that might be user input without exposing them to the SQL interpreter. I can use parameters in WHERE, but it's not so easy to do so for ASC/DESC, LIMIT, and OFFSET. My code would be simplified if I could pass these into the API as arguments and avoid building them into my query string directly.
Describe the solution you'd like
Arguments for ASC/DESC, LIMIT, and OFFSET.
Describe alternatives you've considered
Complex SQL statements to get around this, or sanitizing inputs with express-validator.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When sanitizing inputs it would be helpful to be able to pass all possible things that might be user input without exposing them to the SQL interpreter. I can use parameters in WHERE, but it's not so easy to do so for ASC/DESC, LIMIT, and OFFSET. My code would be simplified if I could pass these into the API as arguments and avoid building them into my query string directly.
Describe the solution you'd like
Arguments for ASC/DESC, LIMIT, and OFFSET.
Describe alternatives you've considered
Complex SQL statements to get around this, or sanitizing inputs with express-validator.
The text was updated successfully, but these errors were encountered: