diff --git a/dist/pysqltools-0.2.6-py3-none-any.whl b/dist/pysqltools-0.2.6-py3-none-any.whl index dc6fb7b..667592b 100644 Binary files a/dist/pysqltools-0.2.6-py3-none-any.whl and b/dist/pysqltools-0.2.6-py3-none-any.whl differ diff --git a/dist/pysqltools-0.2.6.tar.gz b/dist/pysqltools-0.2.6.tar.gz index d1d6fd1..1962c16 100644 Binary files a/dist/pysqltools-0.2.6.tar.gz and b/dist/pysqltools-0.2.6.tar.gz differ diff --git a/dist/pysqltools-0.2.7-py3-none-any.whl b/dist/pysqltools-0.2.7-py3-none-any.whl new file mode 100644 index 0000000..70a86cb Binary files /dev/null and b/dist/pysqltools-0.2.7-py3-none-any.whl differ diff --git a/dist/pysqltools-0.2.7.tar.gz b/dist/pysqltools-0.2.7.tar.gz new file mode 100644 index 0000000..fe3925b Binary files /dev/null and b/dist/pysqltools-0.2.7.tar.gz differ diff --git a/pyproject.toml b/pyproject.toml index 65493ec..7d707cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pysqltools" -version = "0.2.6" +version = "0.2.7" description = "PySQLTools" authors = ["Pablo Minué"] license = "None" diff --git a/pysqltools/src/sql/query.py b/pysqltools/src/sql/query.py index 46a9325..56e2c6d 100644 --- a/pysqltools/src/sql/query.py +++ b/pysqltools/src/sql/query.py @@ -155,6 +155,8 @@ def sql(self): def sql(self, sql: str): if self.lower_query: self._sql = sql.lower() + else: + self._sql = sql @property def ctes(self) -> Generator: