Class FieldInfo

Assembly: redb.Core.dll

Metadata about a field in the PVT query.
Contains structure_id for SQL generation and type information for value extraction.

public record FieldInfo : IEquatable<FieldInfo>

Inheritance

ObjectFieldInfo

Implements

Properties

DbColumn

Column name in _values table (_Long, _String, etc.)

public string DbColumn { get; init; }

DbType

Database type name (Long, String, Boolean, etc.)

public string DbType { get; init; }

DictKey

For Dictionary fields: the key (e.g., "home" for PhoneBook["home"])

public string? DictKey { get; init; }

IsArray

Whether this field is an array type

public bool IsArray { get; init; }

ListItemProp

For ListItem fields: which property (Id, Value, Alias)

public ListItemProperty? ListItemProp { get; init; }

Name

Field name as it appears in Props class

public string Name { get; init; }

ParentStructureId

For nested Dictionary fields: parent structure ID for JOIN via _array_parent_id

public long? ParentStructureId { get; init; }

StructureId

ID of the structure in _structures table

public long StructureId { get; init; }

Constructors