A
"prepared statement" is a type of reusable template in computer programming, used for executing database queries. It helps to separate the query logic from the actual data, making it more secure and efficient. By preparing the statement, the database can store and optimize the query, making future execution faster, while also protecting against common security risks like SQL injection attacks.
Full definition