#13603·sqlalchemy

named_dollar paramstyle

Author: glyphCreated Sep 24, 2026Updated Sep 25, 2026
Labelssqluse casedialects

Describe the use case

asyncpg uses the numeric_dollar paramstyle, but SQLite has an affordance for a named_dollar style as well.

There is precedent for this naming, in SQL Params.

It would be nice to be able to add this style to SQLAlchemy for completeness.

Databases / Backends / Drivers targeted

SQLite.

Also, maybe, one day, PostgreSQL? While client parameters are still exclusively numbered, named SQL function parameters were added to PostgreSQL 9.2, which suggests maybe such a thing could be added to the driver interface eventually?

Example Use

N/A

Additional context

I'm trying to define a type-safe "paramstyle" parameter in DBXS while supporting this paramstyle for completeness, and SQLAlchemy support means I can't actually include it in the published type without triggering potential type errors.

I don't really need it but it would be nice to get it added in advance of any driver deciding this is a good way to do things, so this should be considered low-priority if at all.