且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何防止Laravel中的SQL注入?

更新时间:2023-12-02 09:42:10

是,Eloquent在后台使用参数绑定,可以安全地转义where()中使用的任何输入.

yes Eloquent uses parameter binding behind the scene, which safely escapes any input used in where().