Skip to content

Commit b02f802

Browse files
committed
docs: update Examples section in README.md
- Update Examples section to reflect current directory structure - Add missing categories: Data Management, Performance, Architecture, ActiveRecord, Extensibility, Schema Management, Reliability - Fix incorrect paths and add descriptions for all example categories - Add 03-json-modification.php to examples/README.md - Expand descriptions for Intermediate, Advanced, and JSON Operations sections
1 parent 3c76a8c commit b02f802

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,15 +179,19 @@ Start here: [Documentation Index](documentation/README.md)
179179
Comprehensive, runnable examples are available in the [`examples/`](examples/) directory:
180180

181181
- **[Basic](examples/01-basic/)** - Connection, CRUD, WHERE conditions
182-
- **[Intermediate](examples/02-intermediate/)** - JOINs, aggregations, pagination, transactions
183-
- **[Advanced](examples/03-advanced/)** - Connection pooling, bulk operations, UPSERT
184-
- **[JSON Operations](examples/04-json/)** - Complete guide to JSON features
185-
- **[Helper Functions](examples/05-helpers/)** - String, math, date/time helpers
186-
- **[Export Helpers](examples/11-export-helpers/)** - Export data to JSON, CSV, XML
182+
- **[Intermediate](examples/02-intermediate/)** - JOINs, aggregations, pagination, transactions, savepoints, INSERT ... SELECT, UPDATE/DELETE with JOIN
183+
- **[Advanced](examples/03-advanced/)** - Connection pooling, bulk operations, UPSERT, subqueries, MERGE, window functions, CTEs, full-text search, set operations
184+
- **[JSON Operations](examples/04-json/)** - Complete guide to JSON features including modification (jsonSet, jsonRemove, jsonReplace)
185+
- **[Helper Functions](examples/05-helpers/)** - String, math, date/time, NULL, comparison, conditional, boolean, type helpers
186+
- **[Data Management](examples/06-data-management/)** - File loading, batch processing, export to JSON/CSV/XML
187187
- **[Real-World](examples/06-real-world/)** - Blog system, user auth, search, multi-tenant
188-
- **[README Examples](examples/07-readme-examples/)** - Examples extracted from this README
189-
- **[Connection Retry](examples/08-connection-retry/)** - Retry mechanism with logging
190-
- **[Exception Handling](examples/09-exception-handling/)** - Comprehensive error handling, enhanced error diagnostics with query context and debug information
188+
- **[Performance](examples/07-performance/)** - Query caching, compilation cache, profiling, EXPLAIN analysis
189+
- **[Architecture](examples/08-architecture/)** - Read/write splitting, sharding, load balancing
190+
- **[ActiveRecord](examples/09-active-record/)** - Object-based operations, relationships, scopes
191+
- **[Extensibility](examples/10-extensibility/)** - Macros, plugins, event dispatcher
192+
- **[Schema Management](examples/11-schema/)** - DDL Query Builder, migrations
193+
- **[Reliability](examples/12-reliability/)** - Exception handling, connection retry, error diagnostics
194+
- **[Miscellaneous](examples/14-misc/)** - Examples extracted from this README
191195

192196
Each example is self-contained with setup instructions. See [`examples/README.md`](examples/README.md) for the full catalog.
193197

examples/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ Working with JSON data across all databases.
112112

113113
- **[01-json-basics.php](04-json/01-json-basics.php)** - Creating and storing JSON
114114
- **[02-json-queries.php](04-json/02-json-queries.php)** - Querying JSON data
115+
- **[03-json-modification.php](04-json/03-json-modification.php)** - Modifying JSON data (jsonSet, jsonRemove, jsonReplace)
115116

116117
### 05. Helper Functions
117118
SQL helper functions for common operations.

0 commit comments

Comments
 (0)