#34409: Examples of fetching raw SQL don't work for non-unique column names. --------------------------------------+------------------------------------ Reporter: Jesper Olsson | Owner: nobody Type: Cleanup/optimization | Status: new Component: Documentation | Version: 4.1 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+------------------------------------ Changes (by Mariusz Felisiak):
* type: Bug => Cleanup/optimization * stage: Unreviewed => Accepted Comment: All examples in this documentation are for a single table, so column names are unique. Also, there is nothing in the `cursor.description` to help distinguish columns with the same name. Nevertheless, I agree that we could add a warning in the docs that returned column names should be unique. Would you like to prepare a patch? -- Ticket URL: <https://code.djangoproject.com/ticket/34409#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/01070186d9405cc9-ce3e00d3-2df1-4e40-99af-872c68c0cc75-000000%40eu-central-1.amazonses.com.