From c61e03542d3e9fed974663058db1d93bbd92634b Mon Sep 17 00:00:00 2001 From: Jakob van Santen Date: Tue, 13 Feb 2024 06:30:05 +0100 Subject: [PATCH] literal binds --- migrations/02_add_archive_count.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/02_add_archive_count.py b/migrations/02_add_archive_count.py index c3ed782..7a4c459 100644 --- a/migrations/02_add_archive_count.py +++ b/migrations/02_add_archive_count.py @@ -75,4 +75,4 @@ .alias() ) q = blobs_alerts.select().where(blobs_alerts.c.alerts != blobs_alerts.c.count) - print(q.compile(engine)) + print(q.compile(engine, compile_kwargs={"literal_binds": True}))