TrigramExtension
This class is a specialized database migration operation used to enable the pg_trgm extension in a PostgreSQL database. It facilitates the creation of the extension to support trigram matching, which is useful for determining the similarity of alphanumeric text based on shared sequences of three consecutive characters.
Constructor
Signature
def TrigramExtension(
hints: list[str] = None
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| hints | list[str] = None | Optional database hints or comments to include with the extension creation. |
Signature
def TrigramExtension(
hints: list = null
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| hints | list = null | A list of strings providing additional context or instructions to the database migration engine during the extension creation process. |