2

Query = "select * from repos where id="sj"

parameterized =

"select * from repos where id = ?"
result - executestatement(parameterized,"sj")

I want to pass parameters to the sql query for @databricks/sql module but I am unable to figure out a way. The node.js package has this issue listed if anybody knows a work around?

Parameterizing the query for prevention of sql injection of application.

Chris Albert
  • 2,462
  • 8
  • 27
  • 31

0 Answers0