Active
Project:
Drupal core
Version:
main
Component:
database system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 May 2022 at 17:58 UTC
Updated:
13 Jul 2022 at 11:25 UTC
Jump to comment: Most recent
From #3260007: Decouple Connection from the wrapped PDO connection to allow alternative clients.
Let's add an @internal tags to Database API methods that should only be called within DB drivers' code - for instance, ::lastInsertId().
Comments
Comment #2
andypostI recall there was issue to review all doc-blocks of db drivers, so this one could be linked there
Comment #3
mondrakeNote to self: PHPStan has rules around inheritance of @internal classes, let’s make sure we do not break (there’s already an ignored rule in our PHPStan config)
Comment #4
mondrake