Skip to content

Commit 16f01f1

Browse files
committed
v0.3.0
- finished tests for postgresqlx - tests structure changed - minor bugfix
1 parent 6c9c9c3 commit 16f01f1

File tree

11 files changed

+1629
-2042
lines changed

11 files changed

+1629
-2042
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<img src="./pics/sqllex-logo.svg" width="300px" alt="sqllex logo">
55

6-
# SQLLEX ORM v0.2.3
6+
# SQLLEX ORM v0.3.0
77

88
![python-auto-ver]
99
[![lgtm-quality-img]][lgtm-quality-src]

sqllex/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# "\033[0m"
1818
# "\n")
1919

20-
__version__ = '0.3.0b3'
20+
__version__ = '0.3.0'
2121

2222
__all__ = [
2323
# classes

sqllex/core/entities/abc/script_gens.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def insert(script: str, table: str, columns: tuple, placeholder='?'):
2727
return f"" \
2828
f"{script} " \
2929
f'INTO "{str(table)}" (' \
30-
f"{', '.join(col for col in columns)}) " \
30+
f""""{'", "'.join(col for col in columns)}") """ \
3131
f"VALUES (" \
3232
f"{', '.join((placeholder for _ in range(len(columns))))})"
3333

@@ -41,7 +41,7 @@ def update_script(table: str, script: str):
4141
def select(method: str, columns: tuple, table: str = None):
4242
return f"" \
4343
f"{method} "\
44-
f"{', '.join(str(col) for col in columns)} "\
44+
f"""{', '.join(str(col) for col in columns)} """\
4545
f'FROM "{str(table)}" '
4646

4747

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)