Skip to content

Support for asyncio implementation of Virtual Tables #325

@cancan101

Description

@cancan101

Taking a look at the Virtual Tables it would be cool if the methods could be asyncio compatible such that e.g. Next is non blocking (awaitable).

This would ideally allow downstream users to await the results of a cursor call and eventually use apsw for an asyncio-compatible SQLALchemy dialect.

Related library with a ticket for asyncio: plasticityai/supersqlite#2

It seems like the db API interface could be made async followings approach in https://github.com/omnilib/aiosqlite but that doesn't solve the allowing the virtual table functions themselves to use non blocking calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions