Mercurial > packages > magicforger
comparison src/Generator/Requests/RequestGenerator.php @ 40:2cf26b593f4a ls_dev_2025_09 tip
better support for different column types
| author | Luka Sitas <sitas.luka.97@gmail.com> |
|---|---|
| date | Thu, 16 Oct 2025 10:54:04 -0400 |
| parents | 21439512ba69 |
| children |
comparison
equal
deleted
inserted
replaced
| 39:b5c6ebd33547 | 40:2cf26b593f4a |
|---|---|
| 88 */ | 88 */ |
| 89 protected function getStub() {} | 89 protected function getStub() {} |
| 90 | 90 |
| 91 protected function createFilterRequest() | 91 protected function createFilterRequest() |
| 92 { | 92 { |
| 93 $this->call('mf:filter_request', ['table' => $this->getTableInput()]); | 93 $this->call('mf:filter_request', ['table' => $this->getTableInput(), '--fresh' => $this->option('fresh')]); |
| 94 } | 94 } |
| 95 | 95 |
| 96 protected function createStoreRequest() | 96 protected function createStoreRequest() |
| 97 { | 97 { |
| 98 $this->call('mf:store_request', ['table' => $this->getTableInput()]); | 98 $this->call('mf:store_request', ['table' => $this->getTableInput(), '--fresh' => $this->option('fresh')]); |
| 99 } | 99 } |
| 100 | 100 |
| 101 protected function createUpdateRequest() | 101 protected function createUpdateRequest() |
| 102 { | 102 { |
| 103 $this->call('mf:update_request', ['table' => $this->getTableInput()]); | 103 $this->call('mf:update_request', ['table' => $this->getTableInput(), '--fresh' => $this->option('fresh')]); |
| 104 } | 104 } |
| 105 } | 105 } |
