You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please refer to the conversation in #3582 (comment). More details to be added.
While currently the wrapper and driver connections and statements implement the same connection and statement interfaces, they don't implement them in the same way and completely. At the same time, the interfaces represent a superset of the contract of the wrapper and driver classes.
The wrapper Connection class has two pairs of methods: executeQuery() + executeUpdate() and query() + exec() where the pairs are almost identical to the second. The first pair is mostly used at the DBAL level but the second is needed to implement the driver-level interface.
Driver statements have to support all fetch modes exposed via the abstraction (e.g. mixed or class) and therefore implement them instead of having the abstraction implementing the fetch modes.
The text was updated successfully, but these errors were encountered:
Please refer to the conversation in #3582 (comment). More details to be added.
While currently the wrapper and driver connections and statements implement the same connection and statement interfaces, they don't implement them in the same way and completely. At the same time, the interfaces represent a superset of the contract of the wrapper and driver classes.
Connection
class has two pairs of methods:executeQuery()
+executeUpdate()
andquery()
+exec()
where the pairs are almost identical to the second. The first pair is mostly used at the DBAL level but the second is needed to implement the driver-level interface.The text was updated successfully, but these errors were encountered: