Make a select with max and min passing condition to each of the two – Laravel
When a post is accessed, I need, in addition to returning the information of this posts, to return the previous one if it exists and the next one. I would like to know if there is a way to select…