Describe the feature
Currently, 'DryRun' option is provided in 'Config' which holds configuration of whole database. Support dry run feature at Statement level for each new db request.
Motivation
Since DryRun option is at db config level currently, we cannot do dry run for each individual request(we can achieve this by setting and resetting it in config but that would be not so clean workaround).
I would like to implement this feature.
Related Issues
Comment From: insanePi
https://gorm.io/docs/sql_builder.html#ToSQL