Futher work on PDOConnection (Upsert fix required.)