Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit443d6c6

Browse files
committed
bug#15970 [Lock] Remove mention off DBAL Connection support for locking (johanadivare)
This PR was merged into the 6.3 branch.Discussion----------[Lock] Remove mention off DBAL Connection support for lockingFixes#15952 &#15950Commits-------2802d22 [Lock] 15952 Remove mention off DBAL Connection support for locking
2 parents0251e93 +2802d22 commit443d6c6

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

‎components/lock.rst‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -518,13 +518,12 @@ MongoDB Connection String:
518518
PdoStore
519519
~~~~~~~~
520520

521-
The PdoStore saves locks in an SQL database. It is identical to DoctrineDbalStore
522-
but requires a `PDO`_ connection or a `Data Source Name (DSN)`_. This store does
523-
not support blocking, and expects a TTL to avoid stalled locks::
521+
The PdoStore saves locks in an SQL database. It requires a `PDO`_ connection or a `Data Source Name (DSN)`_. This store does not
522+
support blocking, and expects a TTL to avoid stalled locks::
524523

525524
use Symfony\Component\Lock\Store\PdoStore;
526525

527-
// a PDO or DSN for lazy connecting through PDO
526+
// a PDOinstanceor DSN for lazy connecting through PDO
528527
$databaseConnectionOrDSN = 'mysql:host=127.0.0.1;dbname=app';
529528
$store = new PdoStore($databaseConnectionOrDSN, ['db_username' => 'myuser', 'db_password' => 'mypassword']);
530529

@@ -584,9 +583,8 @@ the :method:`Symfony\\Component\\Lock\\Store\\DoctrineDbalStore::save` method.
584583
PostgreSqlStore
585584
~~~~~~~~~~~~~~~
586585

587-
The PostgreSqlStore and DoctrineDbalPostgreSqlStore uses `Advisory Locks`_ provided by PostgreSQL.
588-
It is identical to DoctrineDbalPostgreSqlStore but requires `PDO`_ connection or
589-
a `Data Source Name (DSN)`_. It supports native blocking, as well as sharing
586+
The PostgreSqlStore uses `Advisory Locks`_ provided by PostgreSQL. It requires a
587+
`PDO`_ connection or a `Data Source Name (DSN)`_. It supports native blocking, as well as sharing
590588
locks::
591589

592590
use Symfony\Component\Lock\Store\PostgreSqlStore;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp