MCPcopy
hub / github.com/django/django / _is_text_or_blob

Method _is_text_or_blob

django/db/backends/mysql/schema.py:60–62  ·  view source on GitHub ↗
(self, field)

Source from the content-addressed store, hash-verified

58 )
59
60 def _is_text_or_blob(self, field):
61 db_type = field.db_type(self.connection)
62 return db_type and db_type.lower().endswith(("blob", "text"))
63
64 def skip_default(self, field):
65 default_is_empty = self.effective_default(field) in ("", b"")

Callers 1

skip_defaultMethod · 0.95

Calls 1

db_typeMethod · 0.45

Tested by

no test coverage detected