-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
- We dont filter with id. Remove ID from query filter.
- If the field is ending with _id this means that this is a id field. And ID fields are not filtered by <> signs.
- ID's are always brought by id_ref this means that if we want to filter by id, we will get id_ref, take object and filter with that id
Example;
public function accountChannelId($value)
{
$accountChannel = AccountChannels::where('id_ref', $value)->first();
if($accountChannel) {
return $this->builder->where('accountChannelId', '=', $accountChannel->id);
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request