This class can be used to execute stored procedures on a PostgreSQL database by calling the class functions.
It uses PHP 5 __call function to map class function calls to execute stored procedures with the same name on a given PostgreSQL database schema.
The class passes function parameter values to the stored procedure as its parameters. If the values do not match the procedure expected types, the class throws an exception.
It returns a PDO statement object that can be used to retrieve any result sets returned from the execution of the stored procedure. |