Found and refactored a way some more eql specified methods of
database-get-type-specifier in mysql