Skip to content

Commit

Permalink
add note on cross-table columnproxy comparisons for future
Browse files Browse the repository at this point in the history
  • Loading branch information
icyveins7 committed Mar 19, 2024
1 parent f249985 commit 3074d99
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion sew/column.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,18 @@


#%% And also a class for columns
### TODO: Intention for this is to build it into a way to automatically generate conditions in select statements..
"""
TODO: Intention for this is to build it into a way to automatically generate conditions in select statements..
1) Within-table case, ColumnProxy operator (ColumnProxy | str)
This should generate a normal condition.
2) Cross-table case ColumnProxy == ColumnProxy
This should generate an INNER JOIN.
We then need to see how many INNER JOINS there are,
alias the tables uniquely,
and perform the selects using the aliases.
"""
class ColumnProxy:
"""
Class to represent a column in a table.
Expand Down

0 comments on commit 3074d99

Please sign in to comment.