Skip to content

Jsonb return as string sometimes '[]' #1284

@aidonchuk

Description

@aidonchuk

Hi! I'm using asyncpg 0.30.0 with python 3.12 and faced strange behaviour of jsonb, my db row contains something like [] or [{},...,{}] and most of it is arrays contains jsons in array.
But some times in records without any items i get '[]' and sometimes [].

Anybody have same issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions