Skip to content

Commit

Permalink
Update Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
byjg committed Dec 6, 2024
1 parent 1473ae6 commit 58436e3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ AnyDatasetDB has some special parameters:

| Parameter | Value | Description |
|--------------------------------|-----------|---------------------------------------------------------------------------------------------------------------------------|
| DbPdoDriver::STATEMENT_CACHE | true | If this parameter is set with "true", anydataset will cache the last prepared queries. |
| DbPdoDriver::DONT_PARSE_PARAM | any value | Is this parameter is set with any value, anydataset won't try to parse the SQL to find the values to bind the parameters. |
| DbPdoDriver::UNIX_SOCKET | path | PDO will use "unix_socket=" instead of "host=". |
e.g.

```php
$uri = Uri::getInstanceFromString("sqlite://" . $this->host)
->withQueryKeyValue(DbPdoDriver::STATEMENT_CACHE, "true")
->withQueryKeyValue(DbPdoDriver::DONT_PARSE_PARAM, "");
```

Expand Down

0 comments on commit 58436e3

Please sign in to comment.