MagicStack / MagicStack/asyncpg

allow name parametr llike this!

Open
#1,023 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.1k
Forks
468
PR merge metrics
No merged PRs in 30d

Description

Like this:
"SELECT company FROM company WHERE approved=%(approved)s"

not this :
SELECT company FROM company WHERE approved = ${approved}

not this :
SELECT company FROM company WHERE approved = $1

can you make easy, i have lot of code, i can't rewrite all my code (

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing asyncpg's query parameter-binding entry point and the PostgreSQL parameter syntax it currently accepts. Compare the requested %(approved)s form with the ${approved} and $1 forms shown in the issue, then define the supported behavior and verify it with the relevant parameter-binding tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, python
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.