Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

when i use databases.Database to connect mysql, how to change tuple result to dict ? #287

@weakeng

Description

@weakeng

``
from aiomysql import cursors
db = databases.Database(mysql_url, min_size=1, max_size=20,cursorclass=cursors.DictCursor)
if will raise a TypeError: row must be a sequence:
return RowProxy(metadata, row, metadata._processors, metadata._keymap)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions