Skip to content

Commit df36131

Browse files
committed
fixup! Document the MySQL-on-SQLite driver
1 parent 661c8a1 commit df36131

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

‎packages/mysql-on-sqlite/README.md‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $pdo = new WP_MySQL_On_SQLite(
2525
'mysql-on-sqlite:path=/path/to/database.sqlite;dbname=app'
2626
);
2727

28-
// Use PDO API to talk to the database as with PDO\Mysql.
28+
// Use the PDO API to talk to the database as with PDO\Mysql.
2929
$statement = $pdo->query( 'SELECT * FROM users' );
3030
$users = $statement->fetchAll( PDO::FETCH_ASSOC );
3131
```
@@ -86,8 +86,8 @@ API.
8686

8787
Supported areas include:
8888

89-
- **Queries:** Joins, subqueries, common table expressions, unions, grouping,
90-
`HAVING`, ordering, limits, and index hints.
89+
- **Queries:** Joins, subqueries, CTEs, unions, grouping, `HAVING`, ordering,
90+
limits, and more.
9191
- **Data manipulation:** `INSERT`, `UPDATE`, `DELETE`, and `REPLACE`, including
9292
MySQL-specific forms such as `INSERT IGNORE`, `ON DUPLICATE KEY UPDATE`, and
9393
joined updates.
@@ -104,8 +104,7 @@ Supported areas include:
104104
- **Metadata:** `INFORMATION_SCHEMA`, `SHOW`, `DESCRIBE`, and database selection
105105
with `USE`.
106106
- **Session state:** SQL modes and system and user variables.
107-
- **Transactions and locking:** Transactions, savepoints, table locks, and
108-
row-locking clauses.
107+
- **Transactions and locking:** Transactions, savepoints, and locks.
109108

110109
### PDO
111110

0 commit comments

Comments
 (0)