This directory contains examples extracted from the main README.md documentation.
01-readme-examples.php- Comprehensive demonstration of all major features shown in the README
- Basic CRUD operations
- Filtering and joining
- JSON operations
- Transactions
- Raw queries
- Complex conditions
- Callback subqueries (new feature)
- Helper functions
The examples are designed to work across all three supported database dialects:
- MySQL
- PostgreSQL
- SQLite
Use the test script to run across all dialects:
bash scripts/test-examples.shOr run individually:
php examples/07-readme-examples/01-readme-examples.php