This class can connect and execute prepared queries with PDO.
It extends the PDO class to connect to a given database using parameters defined in constants.
The class can also execute SQL SELECT, INSERT, UPDATE and DELETE queries, starting and ending transactions before and after executing the queries.
The queries can take prepared parameter values defined individually.
Query results can be retrieved row by row or all rows at once.
In Portuguese:
Classe simples para utilizar na conexão com banco de dados utilizando PDO. |