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

Commit2802d22

Browse files
committed
[Lock] 15952 Remove mention off DBAL Connection support for locking
1 parent8f966c0 commit2802d22

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
@@ -513,13 +513,12 @@ MongoDB Connection String:
513513
PdoStore
514514
~~~~~~~~
515515

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

520519
use Symfony\Component\Lock\Store\PdoStore;
521520

522-
// a PDO or DSN for lazy connecting through PDO
521+
// a PDOinstanceor DSN for lazy connecting through PDO
523522
$databaseConnectionOrDSN = 'mysql:host=127.0.0.1;dbname=app';
524523
$store = new PdoStore($databaseConnectionOrDSN, ['db_username' => 'myuser', 'db_password' => 'mypassword']);
525524

@@ -579,9 +578,8 @@ the :method:`Symfony\\Component\\Lock\\Store\\DoctrineDbalStore::save` method.
579578
PostgreSqlStore
580579
~~~~~~~~~~~~~~~
581580

582-
The PostgreSqlStore and DoctrineDbalPostgreSqlStore uses `Advisory Locks`_ provided by PostgreSQL.
583-
It is identical to DoctrineDbalPostgreSqlStore but requires `PDO`_ connection or
584-
a `Data Source Name (DSN)`_. It supports native blocking, as well as sharing
581+
The PostgreSqlStore uses `Advisory Locks`_ provided by PostgreSQL. It requires a
582+
`PDO`_ connection or a `Data Source Name (DSN)`_. It supports native blocking, as well as sharing
585583
locks::
586584

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp