Node.js & postgres: how would I properly parametrize this query to prevent SQL injection?

前端 未结 0 1033
挽巷
挽巷 2021-01-29 18:13

I am using the pg library to perform operations on a postgres database. The main function to perform a query is this (where pool is a variable containing authentication info):

相关标签:
回答
  • 消灭零回复
提交回复
热议问题