Skip to content

Connection methods in pool #39

Closed
Closed
@imbolc

Description

@imbolc

I think it would be convenient to have connection execute and fetch.. methods in pool. Because single queries is not so rare. I mean:

async with pool.acquire() as con:
    await con.fetch('SELECT ...')

Would be just:

await pool.fetch('SELECT ...')

I can make PR if you like it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions