This is not a general purpose method it should probably just be private. If we were to contribute something to the `mysql` cookbook we would make sure it is general purpose.