MySQL

Indexes

MySQL specific indexes.

class tortoise.contrib.mysql.indexes.FullTextIndex(*expressions, fields=None, name=None, parser_name=None)
class tortoise.contrib.mysql.indexes.SpatialIndex(*expressions, fields=None, name=None)

Fields

MySQL specific fields.

class tortoise.contrib.mysql.fields.GeometryField(source_field=None, generated=False, pk=False, null=False, default=None, unique=False, index=False, description=None, model=None, validators=None, **kwargs)