maniaba
maniaba
Any update on this PR?
> By the way, why do you need to use `upsert()` in the Model? When we need to save something, we use `insert()`, `update()` or `save()` (model methods). When we...
> What are the current outputs? > > ``` > $model->errors(); > $model->db->getLastQuery()->getQuery(); > ``` Output for the `errors()` method returns `null`, should be a validation error for the item_id...
> I haven't done any testing, but based on your short description, I would say that you should handle possible errors a bit better. > > Seems like you started...
I understand your concerns regarding adding database-related functionality to the primary purpose of the queue. I agree that the Queue isn't meant to perform database operations but rather to encompass...
> Expected Output > > ```sql > SELECT col1, `col2` > FROM `table` > ``` > > Why do you want to use RawSql to only the first element? I...
> Check this. #9009 @kenjis Still not fixed Try to reverse the order in tests : ```php $builder->select([ new RawSql("IF(salary > 5000, 'High', 'Low') AS salary_level"), 'employee_id', ]); ``` I...
> This is enchantment, send to branch `4.6` I’ve switched to branch `4.6`, everything is now set. Could you please remove the 'wrong branch' label?
Custom Validation Rule Error: {field}, {param} , {value} Placeholders Not Replaced in Error Messages
> See PR #9201 This isn't the same issue, as I am referring here to updating the `&$error` parameter directly. `Validation::getErrorMessage` will never run when we set `$error`. However, I...
Custom Validation Rule Error: {field}, {param} , {value} Placeholders Not Replaced in Error Messages
> Just use language translations: > > ``` > // app/Language/en/Validation.php > return [ > 'example' => 'The {field} field name is here.' > ]; > ``` > > ```...