Get all scalar (non-relation) fields.
List<FieldInfo> get scalarFields => fields.values.where((f) => !f.isRelation).toList();