problem description
can gorm register functions executed before the query?
I want to record the time spent on the query. It is known that gorm has the function AfterFind, executed after the end of the query to get the time at the end of the query. How can I get the time at the beginning of the query?