- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
Which ActiveRecord query prevents SQL injection?

1.Product.where(“name = #{@keyword}”)

2.Product.where(“name = ” << @keyword}

3.Product.where(“name = ?”, @keyword

4.Product.where(“name = ” + h(@keyword)

Posted Date:-2022-09-17 03:32:01


More MCQS Questions and answers

Search