Overview of Yii DB components
masterYii DB is a DAO (Data Access Object) layer providing an object-oriented API for relational databases. It is designed to be database-agnostic and extensible.
Core Components:
- Connection: Manages the link to the database (supports MSSQL, MySQL, MariaDB, Oracle, PostgreSQL, and SQLite).
- Command: Represents an SQL statement to be executed (supports DDL and DML).
- Query Builder: A tool for constructing complex SQL statements programmatically.
- Schema: Provides metadata inspection (table names, column names, etc.) and supports schema caching.
- Logger & Profiler: Optional tools for monitoring and debugging queries.