Skip to content

Commit 3f2b978

Browse files
authored
Update README.md
1 parent 0627d70 commit 3f2b978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ composer require renoki-co/l1
2828

2929
### D1 with raw PDO
3030

31-
Though D1 is not a relational database, it can be used as a PDO driver via our connector.
31+
Though D1 is not connectable via SQL protocols, it can be used as a PDO driver via the package connector. This proxies the query and bindings to the D1's `/query` endpoint in the Cloudflare API.
3232

3333
```php
3434
use RenokiCo\L1\D1\D1Pdo;
3535
use RenokiCo\L1\D1\D1PdoStatement;
3636
use RenokiCo\L1\CloudflareD1Connector;
3737

3838
$pdo = new D1Pdo(
39-
dsn: 'sqlite::memory:',
39+
dsn: 'sqlite::memory:', // irrelevant
4040
connector: new CloudflareD1Connector(
4141
database: 'your_database_id',
4242
token: 'your_api_token',

0 commit comments

Comments
 (0)