Skip to main content

UnaccentExtension

This class is a specialized database migration operation used to enable the 'unaccent' extension in a PostgreSQL database. It inherits from the base extension creation logic to provide a simple interface for adding accent-insensitive search capabilities to a schema.

Attributes

AttributeTypeDescription
namestring = unaccentThe internal name of the PostgreSQL extension to be created, which is hardcoded to 'unaccent'.
hintslist or dict = NoneOptional metadata or execution instructions passed to the underlying extension creation logic.

Constructor

Signature

def UnaccentExtension(
hints: list[str]| None = None
) - > null

Parameters

NameTypeDescription
hints`list[str]None` = None

Signature

def UnaccentExtension(
hints: list[str] = None
) - > null

Parameters

NameTypeDescription
hintslist[str] = NoneA list of strings providing additional context or instructions for the extension creation process.