Singleton PDO can be used to create a singleton instance of the PDO class.

Singleton PDO provides a static function that stores a reference of the current object in a static variable. Next time the function is called, it returns a reference to the first object that was created.

Additionally, Singleton PDO can also insert or update a given table row from a list of field values.