Commit 39872b1
Refactor DMLQueryBuilder (#746)
* Refactor DMLQueryBuilder
* Get uniques using `getTableIndexes()` and `getTableUniques()`
* Fix @psalm-var
* Fix #61 (point 2)
* Fix #61 (point 2) add test
* Improve test
* Remove methods with `NotSupportedException`
* Fix test issues
* Fix test issues
* Revert "Remove methods with `NotSupportedException`"
* Add line to CHANGELOG.md
* Change order of checks
* Improve performance of quoting column names up to 10% using `array_map()`
* Update CHANGELOG.md
* remove `Generator` in `DMLQueryBuilderInterface`
* Update psalm
* Apply suggestions from code review
Co-authored-by: Sergei Predvoditelev <sergey.predvoditelev@gmail.com>
* Apply StyleCI
* Remove `Generator` from other places
* Return and deprecate `getTypecastValue()` method and `$table` parameter
* Fix psalm
* Fix psalm
* Update CHANGELOG.md
---------
Co-authored-by: Sergei Predvoditelev <sergey.predvoditelev@gmail.com>1 parent 4f1dbb9 commit 39872b1
10 files changed
Lines changed: 163 additions & 164 deletions
File tree
- src
- Command
- QueryBuilder
- tests
- Db/QueryBuilder
- Provider
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
180 | 182 | | |
181 | 183 | | |
182 | 184 | | |
| |||
820 | 822 | | |
821 | 823 | | |
822 | 824 | | |
| 825 | + | |
| 826 | + | |
823 | 827 | | |
824 | 828 | | |
825 | 829 | | |
| |||
0 commit comments