Dropped support of fetching objects and non-zero column#3070
Merged
morozov merged 1 commit intodoctrine:3.0.xfrom Apr 13, 2020
Merged
Dropped support of fetching objects and non-zero column#3070morozov merged 1 commit intodoctrine:3.0.xfrom
morozov merged 1 commit intodoctrine:3.0.xfrom
Conversation
Member
Author
|
Reported the AppVeyor build failure as appveyor/ci#2204. |
540002e to
b1e9e7d
Compare
Ocramius
referenced
this pull request
Apr 4, 2018
fd275f8 to
c78e0e5
Compare
b1e9e7d to
8870f08
Compare
72cddfb to
d8f1786
Compare
67bd64c to
7e5fb71
Compare
c4478a0 to
e5a586e
Compare
78263d5 to
be09d0f
Compare
be09d0f to
5d91e02
Compare
86a0bb9 to
a21bfca
Compare
1. `FetchMode::STANDARD_OBJECT` and `FetchMode::CUSTOM_OBJECT` are no longer supported. 2. `FetchMode::COLUMN` with a non-zero index is no longer supported. 3. Incompatible change in the `Connection::fetchColumn()` signature where the 3rd argument is now `$types`, not `$columnIndex`.
a21bfca to
aa6ae1d
Compare
greg0ire
approved these changes
Apr 13, 2020
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #3066 (comment) and #2958 (comment) for the source.
Summary:
FetchMode::STANDARD_OBJECTandFetchMode::CUSTOM_OBJECTare no longer supported.FetchMode::COLUMNwith a non-zero index is no longer supported.Connection::fetchColumn()signature where the 3rd argument is now$types, not$columnIndex.Reasoning:
fetch()andfetchAll()in any of the non-PDO drivers and in the caching layer.$argsin fetch statement methods and therefore simplify the interface.