This class can be used to prepare and execute MySQL database queries. It can parse a query string to locate % marks that define where parameter values should be inserted. It uses the printf function format parameter syntax, so the characters following the % marks define the types of the parameters. The class can also execute the query by replacing the marks by properly escaping the query parameter values depending on their types.