Can we Execute SQL Queries in JQuery

前端 未结 4 900
清酒与你
清酒与你 2021-01-05 21:47

can we execute mySQL queries in jQuery Calllback functions & misc. functions

like simple query

UPDATE EMPLOYEE SET PAY = PAY + 500 WHERE E_ID = \         


        
4条回答
  •  孤街浪徒
    2021-01-05 22:29

    While you could do this using a callback to a server-side script to execute your queries against MySQL, it would be a quick way to security holes.

    Generating SQL queries from anything run on an end user device is a terribly bad idea.
    Never trust anything a user sends you.

提交回复
热议问题