-
Notifications
You must be signed in to change notification settings - Fork 34
classes_essentials_model_pdolayer.class
Just the original slightly extended We need some more functionalities, so extending PDO and using this when connecting to DB in DataSource.
Extends: PDO
Overrides parent to perform preparations For historical reasons we had some weird argument placeholders in various SQL queries. This is central point to replace them. Additionally polls drivers PreprocessSql method before passing flow to parents method. See PDO::prepare
Definition: public function prepare(string $statement, $driver_options)
Returns: mixed
PDOStatement (in our case ResultSet) or false
Parameters:
-
string $statement
This must be a valid SQL statement for the target database server -
array $driver_options
This array holds one or more key=>value pairs to set attribute values for the PDOStatement object that this method returns