psqlextra/backend/hstore_unique.py
def _unique_constraint_name(table: str, field, keys):
        """Gets the name for a UNIQUE INDEX that applies
        to one or more keys in a hstore field.

        Arguments:
            table:
                The name of the table the field is
                a part of.

            field:
                The hstore field to create a
                UNIQUE INDEX for.

            key:
                The name of the hstore key
                to create the name for.

                This can also be a tuple
                of multiple names.

        Returns:
            The name for the UNIQUE index.
        """
        postfix = '_'.join(keys)
        return '{table}_{field}_unique_{postfix}'.format(
            table=table,
            field=field.column,
            postfix=postfix
        )
def _unique_constraint_name(table: str, field, keys):
        postfix = '_'.join(keys)
        return '{table}_{field}_unique_{postfix}'.format(
            table=table,
            field=field.column,
            postfix=postfix
        )
def _unique_constraint_name ( table : str , field , keys ) : postfix = '_' . join ( keys ) return '{table}_{field}_unique_{postfix}' . format ( table = table , field = field . column , postfix = postfix )
Gets the name for a UNIQUE INDEX that applies
        to one or more keys in a hstore field.

        Arguments:
            table:
                The name of the table the field is
                a part of.

            field:
                The hstore field to create a
                UNIQUE INDEX for.

            key:
                The name of the hstore key
                to create the name for.

                This can also be a tuple
                of multiple names.

        Returns:
            The name for the UNIQUE index.
Gets the name for a UNIQUE INDEX that applies to one or more keys in a hstore field .