|  | 
| 14 | 14 | Built on top of PDO with **zero external dependencies**, it offers: | 
| 15 | 15 | - **Fluent Query Builder** - Intuitive, chainable API for all database operations | 
| 16 | 16 | - **Cross-Database Compatibility** - Automatic SQL dialect handling (MySQL, PostgreSQL, SQLite) | 
| 17 |  | -- **Read/Write Splitting** - Horizontal scaling with master-replica architecture and load balancing | 
| 18 |  | -- **JSON Operations** - Native JSON support with consistent API across all databases | 
| 19 | 17 | - **Query Caching** - PSR-16 integration for result caching (10-1000x faster queries) | 
|  | 18 | +- **Read/Write Splitting** - Horizontal scaling with master-replica architecture and load balancing | 
|  | 19 | +- **Full-Text Search** - Cross-database FTS with unified API (MySQL FULLTEXT, PostgreSQL tsvector, SQLite FTS5) | 
|  | 20 | +- **Schema Introspection** - Query indexes, foreign keys, and constraints programmatically | 
| 20 | 21 | - **Advanced Pagination** - Full, simple, and cursor-based pagination with metadata | 
|  | 22 | +- **JSON Operations** - Native JSON support with consistent API across all databases | 
| 21 | 23 | - **Bulk Operations** - CSV/XML/JSON loaders, multi-row inserts, UPSERT support | 
|  | 24 | +- **Export Helpers** - Export results to JSON, CSV, and XML formats | 
| 22 | 25 | - **Transactions & Locking** - Full transaction support with table locking | 
| 23 | 26 | - **Batch Processing** - Memory-efficient generators for large datasets | 
| 24 | 27 | - **Exception Hierarchy** - Typed exceptions for precise error handling | 
| 25 | 28 | - **Connection Retry** - Automatic retry with exponential backoff | 
| 26 |  | -- **Helper Functions** - 80+ SQL helpers for strings, dates, math, JSON, aggregations | 
| 27 |  | -- **Fully Tested** - Comprehensive test coverage across all dialects | 
| 28 |  | -- **Type-Safe** - PHPStan level 8 validated code | 
|  | 29 | +- **80+ Helper Functions** - SQL helpers for strings, dates, math, JSON, aggregations, and more | 
|  | 30 | +- **Fully Tested** - 533 tests, 2397 assertions across all dialects | 
|  | 31 | +- **Type-Safe** - PHPStan level 8 validated, PSR-12 compliant | 
| 29 | 32 | 
 | 
| 30 | 33 | Inspired by [ThingEngineer/PHP-MySQLi-Database-Class](https://github.com/ThingEngineer/PHP-MySQLi-Database-Class) | 
| 31 | 34 | 
 | 
|  | 
0 commit comments