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
We should use parameterized SQL commands instead of string concatenation in all our SQL-based connectors.
Advantages:
No space for introducing SQL injection vulnerabilities. All user-provided values are always encoded by the SQL engine.
Parameterized SQL queries have significantly better performance, as the same querying plan can be used for all queries independently of parameter values. For queries built manualy via string concatenation, at least some SQL servers (MS SQL, IIRC) will build a new querying plan for each statement.
Connectors to fix:
loopback-connector-mysql
loopback-connector-postgresql
loopback-connector-oracle
loopback-connector-mssql
The text was updated successfully, but these errors were encountered:
We should use parameterized SQL commands instead of string concatenation in all our SQL-based connectors.
Advantages:
Connectors to fix:
The text was updated successfully, but these errors were encountered: