Ticket #517 (fixed enhancement)
Lazy connect to database
- Created: 2011-10-25 15:11:23
- Reported by: Franz
- Assigned to: Franz
- Milestone: 2.0-alpha1
- Component: database
- Priority: normal
Only connect to the database via PDO if we actually execute a query.
Why? Is there a case where there's no DB connection needed?
Franz 2011-10-25 20:27:31
Maybe if an error happens before any queries are executed.
Franz 2011-10-25 21:31:04
Also, this is meant to be usable for other people in their projects, too.