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.

No check for bind parameter values #514

Description

@conservative-dude

Hi,

I'm using raw queries like that:

record = await db.fetch_one(
    query='select * from table_a where id = :id',
    values={
        # "id": 0
    })

If I don't provide bind parameter value (like that :id), bind parameter value is set to None and query executes successfully. I was expecting that an error will be thrown saying that I miss a value for the parameter.

Is there anything I'm missing?

databases[postgresql]==0.6.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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