Kinda sorta. It was a quick fix for a compile error with soci that occurs if it's const, I'm not sure if there's a better way.