Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-303

Mistake in documentation of cursor constructor

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • None
    • 1.1.12
    • Documentation
    • None

    Description

      Quote from the documentation:
      fetch* methods of the cursor class by default return result set values
      as a tuple, unless named_tuple or dictionary was specified.
      The latter one exists for compatibility reasons and should be avoided
      due to possible inconsistency in case two or more fields in a result
      set have the same name.

      "The latter one" refers to dictionary, but should refer to named_tuple.

      Attachments

        Activity

          Transition Time In Source Status Execution Times
          Georg Richter made transition -
          Open Closed
          1h 28m 1

          People

            georg Georg Richter
            commongeek Witold Czarnecki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.