Skip to content

Commit

Permalink
select_lt() to accept < comparison operator
Browse files Browse the repository at this point in the history
  • Loading branch information
mezantrop committed Jul 3, 2024
1 parent ca83993 commit 14088d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

* **2024.07.03 tSQLike-1.1.1**
* `select_lt()` to accept `<` comparison operator

* **2024.07.02 tSQLike-1.1.0**
* Import methods use `detect_types` to detect if auto-conversion from `str` to `int`, `float` and `bool` is needed

Expand Down
2 changes: 1 addition & 1 deletion tsqlike/__about__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
""" Version number in a single place """

__version__ = "1.1.0"
__version__ = "1.1.1"
1 change: 1 addition & 0 deletions tsqlike/tsqlike.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ def select_lt(self, columns='*', where='', comp='==', val='', new_tname=''):
if comp == '==' and _type(r[scol_idx]) == val or
comp == '!=' and _type(r[scol_idx]) != val or
comp == '>' and _type(r[scol_idx]) > val or
comp == '<' and _type(r[scol_idx]) < val or
comp == '>=' and _type(r[scol_idx]) >= val or
comp == '<=' and _type(r[scol_idx]) <= val or
comp == 'in' and _type(r[scol_idx]) in val or
Expand Down

0 comments on commit 14088d0

Please sign in to comment.