Overview
The Database library provides a simple abstraction layer for database operations. It supports multiple database engines through adapters.DB Class Structure
Fromsystem/library/db.php:17:
Core Methods
query()
Execute SQL statements:escape()
Prevent SQL injection:countAffected()
Get number of affected rows:getLastId()
Get auto-increment ID from INSERT:Next Steps
Session Library
Session management
Cache Library
Caching operations

