jeudi 26 octobre 2017

What is the best way possible via design patterns to handle MULTIPLE SQL statements.. in a class

i have one scenario, I am getting multiple SQL (Select Queries) from a properties file. which by looping i need to set in prepared statement. post that i need to update '?' in every query in the same handler_class via a Single method.. IMP as you know '?' cannot be constant in all queries.

how to handle this scenario via design patterns. which pattern is most useful in this case. and how solve the problem gracefully? which can be leveraged in future too.

Aucun commentaire:

Enregistrer un commentaire