Example #1
0
def _fully_qualified_name(name, database):
    if is_fully_qualified(name):
        return name
    if database:
        return '{0}.`{1}`'.format(database, name)
    return name
Example #2
0
    def _fully_qualified_name(self, name, database):
        if is_fully_qualified(name):
            return name

        database = database or self.current_database
        return f'{database}.`{name}`'
Example #3
0
 def _fully_qualified_name(name, database):
     if is_fully_qualified(name):
         return name
     if database:
         return f'{database}.`{name}`'
     return name