harp_apps.storage.optionals.pg_trgm¶
- class PgTrgmOptional[source]¶
Bases:
BaseOptional
Installs or uninstalls the required tools for postrges’ trigram based indexes and search.
- async install()[source]¶
Install this optional feature in the database. This will install the pg_trgm extension and create optimized index for search.
- async uninstall()[source]¶
Remove this optional feature from database. Please note that the extension is not uninstalled, as it may have more side effect than we’d like too. Some deeper understanding of what is a PG extension and how scoped there are would be great.
- property engine¶
- property url¶