Commit bc1e1b4
committed
refactor: simplify primary key check logic (no functional changes)
Unify array and single value handling in is_column_primary_key? using Array() wrapper.
Reduces nested conditionals from 15 to 3 lines while maintaining identical behavior.
Pure refactoring with zero feature changes.1 parent 8ec1d84 commit bc1e1b4
1 file changed
+2
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | 116 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
| 117 | + | |
129 | 118 | | |
130 | | - | |
| 119 | + | |
131 | 120 | | |
132 | 121 | | |
133 | 122 | | |
| |||
0 commit comments