DEV Community

loading...

Discussion on: Database Level CRUD Operations Using PDO

Collapse
vlasales profile image
Vlastimil Pospichal

Instead of method openConnection(), I use a parameterized constructor with a lazy database opening.