4 months ago

count the number of entries for a period of time

Posted 4 months ago by zembla


firstly, sorry for my horrible English

in my application for a parking location a user insert two date, start date and end date . I would like to make a request that count for each day the total number of registration and if there is more of maximum registration to prohibit a new registration for a date when that maximum number is reached. how to write this request using eloquent in laravel or query builder

thank for any help

Please sign in or create an account to participate in this conversation.