some convience methods for mysql2.