Coverage for packages/sql-smith/src/sql_smith/partial/literal.py: 100%
8 statements
« prev ^ index » next coverage.py v7.11.0, created at 2024-01-01 00:00 +0000
« prev ^ index » next coverage.py v7.11.0, created at 2024-01-01 00:00 +0000
1from sql_smith.interfaces import StatementInterface
4class Literal(StatementInterface):
5 def __init__(self, value):
6 self._value = value
8 def sql(self, engine: "EngineInterface") -> str:
9 return str(self._value)
11 def params(self, engine: "EngineInterface") -> tuple:
12 return ()