Attack
Forum Üyesi
- Katılım
- 4 Şub 2023
- Mesajlar
- 2,618
- Puanları
- 0
I am trying to save data directly to db calling from the middle of another function (not by submitting process).
I can dump the data but it's not being saved. What's wrong? Is the filter related to new field or the incoming data?
Code:
public function createItem($data) { $item = $this->em()->create('My\Addon:Class'); $input = $this->filter([ 'id' => 'uint', 'name' => 'str', 'qty' => 'uint', ])...
I can dump the data but it's not being saved. What's wrong? Is the filter related to new field or the incoming data?
Code:
public function createItem($data) { $item = $this->em()->create('My\Addon:Class'); $input = $this->filter([ 'id' => 'uint', 'name' => 'str', 'qty' => 'uint', ])...
Misafirler için gizlenen link, görmek için
Giriş yap veya üye ol.