graflo.db.field_type_support¶
Backend support checks for schema field types (native or raise — no soft conversion).
UnsupportedFieldTypeError
¶
Bases: ValueError
Raised when a field type cannot be stored natively on the target backend.
Source code in graflo/db/field_type_support.py
assert_field_type_supported(db_type, field)
¶
Raise if field cannot be stored natively on db_type.
Soft conversions (e.g. LIST → STRING/JSON) are intentionally not performed.
Source code in graflo/db/field_type_support.py
assert_schema_field_types_supported(db_type, schema)
¶
Validate every schema field against backend type support.
iter_schema_fields(schema)
¶
Yield all typed property fields from vertices and edges in schema.
Source code in graflo/db/field_type_support.py
tigergraph_type_for_field(field)
¶
Return a TigerGraph attribute type string (e.g. LIST<STRING>, INT).
Logical UUID is stored as STRING (TigerGraph has no native UUID type).