Commit 0bbb660
committed
refactor: remove deprecated .upper() and .lower() methods
Removes backward-compatible .upper() and .lower() methods in favor of
the more Swifty .uppercased() and .lowercased() API.
## Changes
- Removed QueryExpression extension with .upper() and .lower()
- Updated tests to use .uppercased() and .lowercased()
- All 860 tests passing
## API Migration
- .upper() → .uppercased()
- .lower() → .lowercased()
Users should use the Swifty API which matches Swift.String conventions.1 parent 29d5944 commit 0bbb660
File tree
2 files changed
+4
-34
lines changed- Sources/StructuredQueriesPostgres/Functions/String
- Tests/StructuredQueriesPostgresTests/Functions/String
2 files changed
+4
-34
lines changedLines changed: 0 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 100 | | |
131 | 101 | | |
132 | 102 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments