In release 1.0.16:
- Now when you set variables via call method of SqlContainer then you update vars storage and do not rewrite all vars storage. If you would like to rewrite storage you have to set dict to container.vars attribute.
Example:
def some_func(container: SqlContainer):
# remove all existing vars and set new by dict
container.vars = {'some_var': 'some_value'}
- Now when you set variables via call method of SqlContainer then you update vars storage and do not rewrite all vars storage. If you would like to rewrite storage you have to set dict to container.vars attribute.
Example:
def some_func(container: SqlContainer):
# remove all existing vars and set new by dict
container.vars = {'some_var': 'some_value'}
In release 1.0.18:
- SqlQuery has no longer text method. Call call method instead.
- SqlSection do not upper sql keywords anymore in inline/multiline comments and single/double quotes.
- SqlQuery has no longer text method. Call call method instead.
- SqlSection do not upper sql keywords anymore in inline/multiline comments and single/double quotes.
In release 1.0.21:
- Add SqlEnum, Cols, Vals vars to enumerate any, columns and values respectively
- Add SqlEnum, Cols, Vals vars to enumerate any, columns and values respectively
In release 1.0.22-1.0.23:
- Add more tests and enrich README.md
- Add more tests and enrich README.md
In release 1.0.24:
- Add 'inline' and 'multiline' methods to SqlEnum, Cols and Vals which return SqlContainer. You could call 'wrap' method of any SqlContainer to wrap result into parentheses.
- Add 'inline' and 'multiline' methods to SqlEnum, Cols and Vals which return SqlContainer. You could call 'wrap' method of any SqlContainer to wrap result into parentheses.
In release 1.0.25-1.0.26:
- Add more tests and enrich README.md
- Add more tests and enrich README.md
In release 1.0.29:
- Rename classes to be more consistent in names (all another classes start with Sql prefix):
1) Cols to SqlCols;
2) Vals to SqlVals
- Rename classes to be more consistent in names (all another classes start with Sql prefix):
1) Cols to SqlCols;
2) Vals to SqlVals
In releases 1.0.33-1.0.35:
- Decomposition of code to get better code structure
- Decomposition of code to get better code structure
In release 1.0.36: improve container vars inheritance. Add more tests.
sqlconstructor - release notes pinned «https://pypi.org/project/sqlconstructor/»
In release 1.0.37: improve container vars inheritance in SqlQuery __call__ method. Now SqlSection instance has ‘header’ attribute instead of ‘section_header’. Add more tests.
