Your Question
Can't find beforeFind hook which might be useful for table separation scene.
The document you expected this should be explained
Expected answer
The reason for beforeFind unsupported. Thanks.
Comment From: jinzhu
It will call the BeforeFind based on a zero struct data, which usually doesn't make sense.
Comment From: mirusky
I agree, but as we can pass values via context before hooks it can be a powerful tool to change some queries behaviours, like changing tenant (where tenant_id = ?), changing table name, LazyCache and others.
@jinzhu please consider adding it