Almost RDBMS plugins use this parameters and I don't see any counter opinion.
Your approache seems clear and flexible but too verbose.
I don't judge which is better.