Skip to content

0.9.3

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 22 Feb 17:43
66450d5

What's Changed

Named parameters

Now it's possible to use mapping (anything that supports Mapping protocol) for parameters.

async def main():
    ...

    await connection.execute(
        querystring="SELECT * FROM users WHERE id = $(user_id)p",
        parameters=dict(user_id=101),
    )

Full Changelog: 0.9.2...0.9.3