def _db_connection_type(db_connection):
 db_string = db_connection.split(':')[0].split('+')[0]
 return db_string.lower()

def _db_connection_type ( db_connection ) : db_string = db_connection . split ( ':' ) [ 0 ] . split ( '+' ) [ 0 ] return db_string . lower ( )
returns a lowercase symbol for the db type .