Postgres¶
Indexes¶
Postgres specific indexes.
-
class tortoise.contrib.postgres.indexes.BloomIndex(*expressions, fields=
None
, name=None
, condition=None
)[source]¶
-
class tortoise.contrib.postgres.indexes.BrinIndex(*expressions, fields=
None
, name=None
, condition=None
)[source]¶
-
class tortoise.contrib.postgres.indexes.GinIndex(*expressions, fields=
None
, name=None
, condition=None
)[source]¶
-
class tortoise.contrib.postgres.indexes.GistIndex(*expressions, fields=
None
, name=None
, condition=None
)[source]¶
-
class tortoise.contrib.postgres.indexes.HashIndex(*expressions, fields=
None
, name=None
, condition=None
)[source]¶
-
class tortoise.contrib.postgres.indexes.SpGistIndex(*expressions, fields=
None
, name=None
, condition=None
)[source]¶
Fields¶
Postgres specific fields.
-
class tortoise.contrib.postgres.fields.TSVectorField(source_field=
None
, generated=False
, primary_key=None
, null=False
, default=None
, unique=False
, db_index=None
, description=None
, model=None
, validators=None
, **kwargs)[source]¶
Functions¶
Search¶
Postgres full text search.