Skip to content

Commit

Permalink
Better on for join.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdunkerley committed Jun 1, 2023
1 parent 7a9947c commit ad897c8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ make_join_condition_selector : Table -> Display -> Widget
make_join_condition_selector table display=Display.Always =
col_names_selector = make_column_name_selector table display=Display.Always

fqn = Meta.get_qualified_type_name Join_Condition
fqn = "Join_Condition"
equals = Option "Equals" fqn+".Equals" [["left", col_names_selector]]
equals_ci = Option "Equals (Ignore Case)" fqn+".Equals_Ignore_Case" [["left", col_names_selector]]
between = Option "Between" fqn+".Between" [["left", col_names_selector]]
names=[equals, equals_ci, between]

item_editor = Single_Choice display=display values=names
Vector_Editor item_editor=item_editor item_default="Join_Condition.Equals" display=display
Vector_Editor item_editor=item_editor item_default="("+item_editor.values.first.value+")" display=display

## PRIVATE
Make a column name selector.
Expand Down

0 comments on commit ad897c8

Please sign in to comment.