|
|
|
|
|
by hadcomplained
2065 days ago
|
|
This project seems nice, but there's some detail I have trouble wrapping my head around: why is a template string represented as a lambda containing an f-string, instead of as a plain string? Namely, wouldn't the code below suffice? Q("""select 1 from {otherQuery}""")
What does the following code enable that the code above cannot do? Q(lambda: f"""select 1 from {otherQuery}""")
|
|
Suggestions for improvements are welcome!