GitHub

API reference for Literal.

SQL text, inserted as it is, followed by its bound params. The text is a LiteralString, so pyright rejects text built at runtime here too; literal_unsafe is the explicit way to make one from it.

Attributes

AttributeTypeDescription
valueLiteralString
paramstuple[object, ...] | None = None

Functions

__init__

__init__(value, params=None) -> None
ParameterTypeDescription
valueLiteralString
paramstuple[object, ...] | None = None