From 0c4f6a0745d619cce304be852d1737e2996980e5 Mon Sep 17 00:00:00 2001 From: collerek Date: Thu, 17 Sep 2020 16:18:33 +0200 Subject: [PATCH] some refactors --- .coverage | Bin 53248 -> 53248 bytes ormar/queryset/queryset.py | 2 -- 2 files changed, 2 deletions(-) diff --git a/.coverage b/.coverage index 6a3129e1624e9f90986c5987781b7bbdb3eb3e26..49a54560217fb1081c660ae9a6013a303ccd779c 100644 GIT binary patch delta 39 ucmZozz}&Ead4q#KyP1`tIS_4j*Pjs2{rTSY`S#`I@7LwoZGO}z=Li5I`w&S0 delta 39 vcmZozz}&Ead4q#KyQ!6lrInG{W_SGw@!Z9+@%8`i+}*o-*U!z5`s5q|A_x&6 diff --git a/ormar/queryset/queryset.py b/ormar/queryset/queryset.py index a6c82f8..ef3d636 100644 --- a/ormar/queryset/queryset.py +++ b/ormar/queryset/queryset.py @@ -108,13 +108,11 @@ class QuerySet: async def exists(self) -> bool: expr = self.build_select_expression() expr = sqlalchemy.exists(expr).select() - # print(expr.compile(compile_kwargs={"literal_binds": True})) return await self.database.fetch_val(expr) async def count(self) -> int: expr = self.build_select_expression().alias("subquery_for_count") expr = sqlalchemy.func.count().select().select_from(expr) - # print(expr.compile(compile_kwargs={"literal_binds": True})) return await self.database.fetch_val(expr) async def delete(self, **kwargs: Any) -> int: