I'd like to find a way to know how to do what I want.
I have a news platform and would like you to introduce me to the previous video that has been inserted. It seems simple because I could just put it to go get (id)-1
and get the value. But what if one of the videos is deleted? There would be a value that would be empty and would result in a bug. Is there any way to do this?