Contextual return handling for dbmethod.