Eloquent Questions

Ad

Refactor Laravel Eloquent Query

I want to filter data given from eloquent laravel. i have 4 date picker in my view, and i want when each of one has filled and has date the query
Ad
Ad

Query data laravel

I want to know how get this working in laravel: i have two tables: "orders" and "delivery_boys". when an order is created i want
Ad
Ad

Laravel - Eloquent where with array

I'm trying to execute this query according to the documentation but its returning the error array_key_exists(): the first argument should be

Laravel Relationships Guidance

Could anyone please tell me how to create a relation between 3 tables.i have 3 tables. user, profile and post. now i want to list all posts on the
Ad

User Activity log

I have two database tables users and activity_log with dummy records as below: table users
Ad
Ad
Ad

hasManyThrough with morph

I have a projects table that either can be assigned to a user or a team, this is the structure: id assignable_id assignable_type
Ad
Ad

Blog Categories

Ad