API Reference
Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.
Search results for: Value
Clear search
Agg
redb.Core.Query.Aggregation
Average<TKey, TProps, TValue>(IRedbGrouping<TKey, TProps>, Expression<Func<TProps, TValue>>)
Average in a group: Agg.Average(g, x => x.Age)
Max<TKey, TProps, TValue>(IRedbGrouping<TKey, TProps>, Expression<Func<TProps, TValue>>)
Maximum in a group: Agg.Max(g, x => x.Price)
Min<TKey, TProps, TValue>(IRedbGrouping<TKey, TProps>, Expression<Func<TProps, TValue>>)
Minimum in a group: Agg.Min(g, x => x.Price)
Sum<TKey, TProps, TValue>(IRedbGrouping<TKey, TProps>, Expression<Func<TProps, TValue>>)
Sum in a group: Agg.Sum(g, x => x.Stock)
AggregateResult
redb.Core.Query.Aggregation
Values
Results by aliases
ArithmeticExpression
redb.Core.Query.QueryExpressions
ArithmeticExpression(ValueExpression, ArithmeticOperator, ValueExpression)
Arithmetic expression (Pro Only)
BaseFilterExpressionParser
redb.Core.Query.Parsing
CreateExtendedComparison(BinaryExpression, ComparisonOperator, ValueExpression?, ValueExpression?)
Extended comparison with ValueExpression (arithmetic/functions).
ExtractPropertyAndValue(BinaryExpression)
Extract property and value from binary expression.
ExtractValueExpression(Expression)
Recursively extract ValueExpression from any Expression.
TryExtractValueExpression(Expression)
Try to extract ValueExpression from Expression (arithmetic, functions).
ComparisonExpression
redb.Core.Query.QueryExpressions
ConfigurationSource
redb.Core.Models.Configuration
Value
Parameter value (as string for debugging)
ConfigurationValidationError
redb.Core.Models.Configuration
ConstantValueExpression
redb.Core.Query.QueryExpressions
ConstantValueExpression(object?, Type)
Constant value
ContactDetail
redb.Examples.Models
CustomFunctionExpression
redb.Core.Query.QueryExpressions
CustomFunctionExpression(string, IReadOnlyList<ValueExpression>)
Custom SQL function (Pro Only)
E120_ListItemWhereByValue
redb.Examples.Examples
ExportFooter
redb.Export.Models
SequenceValue
Value of the global_identity sequence at the time of export.
TotalValues
Total number of property-value records exported.
FunctionCallExpression
redb.Core.Query.QueryExpressions
FunctionCallExpression(PropertyFunction, ValueExpression)
Function call on value (Pro Only)
IBulkOperations
redb.Core.Data
BulkDeleteValuesAsync(IEnumerable<long>)
Bulk delete values by IDs.
BulkDeleteValuesByListItemIdsAsync(IEnumerable<long>)
Bulk delete values by ListItem IDs.
BulkDeleteValuesByObjectIdsAsync(IEnumerable<long>)
Bulk delete values by object IDs.
BulkInsertValuesAsync(IEnumerable<RedbValue>)
Bulk insert values using COPY protocol.
BulkUpdateValuesAsync(IEnumerable<RedbValue>)
Bulk update values.
IDataProvider
redb.Export.Providers
GetSequenceValueAsync(CancellationToken)
Returns the current value of the global_identity sequence.
SetSequenceValueAsync(long, CancellationToken)
Resets the global_identity sequence to the specified value
IKeyGenerator
redb.Core.Data
NextValueIdAsync()
Generate next unique ID for values.
NextValueIdBatchAsync(int)
Generate batch of value IDs for bulk operations.
IListProvider
redb.Core.Providers
InExpression
redb.Core.Query.QueryExpressions
IPropertyMigrationBuilder<TProps, TProp>
redb.Core.Pro.Migration
DefaultValue(TProp)
Default value for new field.
IRedbContext
redb.Core.Data
NextValueIdAsync()
Get next value ID.
NextValueIdBatchAsync(int)
Get batch of value IDs.
IRedbList
redb.Core.Models.Contracts
FindItemByValue(string)
Find item by value
IRedbListItem
redb.Core.Models.Contracts
Value
List item text value
IRedbObject
redb.Core.Models.Contracts
ValueBool
Primitive boolean value (for primitive schemas)
ValueBytes
Primitive byte array value (for primitive schemas)
ValueDatetime
Primitive datetime value (for primitive schemas)
ValueDouble
Primitive double value (for primitive schemas)
ValueGuid
Primitive GUID value (for primitive schemas)
ValueLong
Primitive long value (for primitive schemas)
ValueNumeric
Primitive decimal value (for primitive schemas)
ValueString
Primitive string value (for primitive schemas)
IRedbQueryable<TProps>
redb.Core.Query
WhereIn<TValue>(Expression<Func<TProps, TValue>>, IEnumerable<TValue>)
Filter by value in list (WHERE field IN (...)).
WhereInRedb<TValue>(Expression<Func<IRedbObject, TValue>>, IEnumerable<TValue>)
Filter by IRedbObject base field in list (WHERE _field IN (...)).
IRedbStructure
redb.Core.Models.Contracts
DefaultValue
Default value (in binary form)
ISqlDialect
redb.Core.Query
ListItems_SelectByListIdAndValue()
SELECT list item by list ID and value. Params: $1=listId, $2=value
ObjectStorage_DeleteValuesByObjectId()
DELETE all values for object. Params: $1=objectId
ObjectStorage_SelectValueById()
SELECT single value by ID. Params: $1=valueId
ObjectStorage_SelectValuesForObjects()
SELECT all values for object IDs (ChangeTracking). Params: $1=objectIds (array)
ObjectStorage_SelectValuesWithTypes()
SELECT existing values with types. Params: $1=objectId, $2=structureIds (array)
Tree_DeleteValuesByObjectIds()
DELETE values by object IDs. Params: $1=objectIds (array)
ISqlDialectPro
redb.Core.Pro.Query
Materialization_SelectValuesByObjectAndStructureIds()
Bulk select values by object IDs and structure IDs.
Materialization_SelectValuesByObjectIds()
Bulk select values by object IDs.
JsonValueConverter
redb.Core.Query.Utils
ListItemProperty
redb.Core.Query.Models
Value
Status.Value → JOIN _list_items._value
ListItemRecord
redb.Export.Models
Value
Display value of the list item.
ListProviderBase
redb.Core.Providers.Base
MigrationExpressionCompiler
redb.Core.Pro.Migration
CompileDefaultValueAsync(long, string, object?)
Compile DefaultValue to UPDATE SQL
MigrationType
redb.Core.Pro.Migration
MsSqlDialect
redb.MSSql.Sql
ListItems_SelectByListIdAndValue()
SELECT list item by list ID and value. Params: $1=listId, $2=value
ObjectStorage_DeleteValuesByObjectId()
DELETE all values for object. Params: $1=objectId
ObjectStorage_SelectValueById()
SELECT single value by ID. Params: $1=valueId
ObjectStorage_SelectValuesForObjects()
SELECT all values for object IDs (ChangeTracking). Params: $1=objectIds (array)
ObjectStorage_SelectValuesWithTypes()
SELECT existing values with types. Params: $1=objectId, $2=structureIds (array)
Tree_DeleteValuesByObjectIds()
DELETE values by object IDs. Params: $1=objectIds (array)
MssqlProvider
redb.Export.Providers
GetSequenceValueAsync(CancellationToken)
Returns the current value of the global_identity sequence.
SetSequenceValueAsync(long, CancellationToken)
Resets the global_identity sequence to the specified value
NpgsqlBulkOperations
redb.Postgres.Data
BulkDeleteValuesAsync(IEnumerable<long>)
Bulk delete values by IDs.
BulkDeleteValuesByListItemIdsAsync(IEnumerable<long>)
Bulk delete values by ListItem IDs.
BulkDeleteValuesByObjectIdsAsync(IEnumerable<long>)
Bulk delete values by object IDs.
BulkInsertValuesAsync(IEnumerable<RedbValue>)
Bulk insert values using COPY protocol.
BulkUpdateValuesAsync(IEnumerable<RedbValue>)
Bulk update values using UPDATE FROM VALUES.
ObjectRecord
redb.Export.Models
ValueBool
Inline value (for primitive schemes).
ValueBytes
Inline binary value (for primitive schemes).
ValueDatetime
Inline value (for primitive schemes).
ValueDouble
Inline value (for primitive schemes).
ValueGuid
Inline value (for primitive schemes).
ValueLong
Inline value (for primitive schemes).
ValueNumeric
Inline value (for primitive schemes).
ValueString
Inline value (for primitive schemes).
ObjectStorageProviderBase
redb.Core.Providers.Base
_pendingValuesToDelete
Value IDs to delete (from ChangeTracking diff). Pro only.
_pendingValuesToInsert
Values to insert (from ChangeTracking diff). Pro only.
_pendingValuesToUpdate
Values to update (from ChangeTracking diff). Pro only.
ExecuteBatchByStrategy(EavSaveStrategy, List<IRedbObject>, List<RedbValue>)
Executes batch save by strategy. OpenSource: only DeleteInsert.
PrepareValuesByStrategy(List<IRedbObject>, List<RedbValue>, bool)
Step 6: Strategy selection for values processing.
PrepareValuesWithTreeDeleteInsert(List<IRedbObject>, List<RedbValue>)
DeleteInsert strategy: delete all existing values, then insert new ones.
ProcessAllObjectsPropertiesRecursively(List<IRedbObject>, List<RedbValue>)
🔄 STEP 5: Recursive processing of Props of all objects → RedbValue lists
SaveBatchWithDeleteInsertStrategy(List<IRedbObject>, List<RedbValue>)
DeleteInsert batch strategy: delete ALL values, BulkInsert/BulkUpdate of objects, BulkInsert of valu...
UpdateExistingValueFields(RedbValue, RedbValue, Dictionary<long, string>)
Updates existing value fields from new value (only significant fields).
OrderingExpression
redb.Core.Query.QueryExpressions
OrderingExpression(PropertyInfo, SortDirection, ValueExpression?)
Sorting information.
PostgresProvider
redb.Export.Providers
GetSequenceValueAsync(CancellationToken)
Returns the current value of the global_identity sequence.
SetSequenceValueAsync(long, CancellationToken)
Resets the global_identity sequence to the specified value
PostgreSqlDialect
redb.Postgres.Sql
ListItems_SelectByListIdAndValue()
SELECT list item by list ID and value. Params: $1=listId, $2=value
ObjectStorage_DeleteValuesByObjectId()
DELETE all values for object. Params: $1=objectId
ObjectStorage_SelectValueById()
SELECT single value by ID. Params: $1=valueId
ObjectStorage_SelectValuesForObjects()
SELECT all values for object IDs (ChangeTracking). Params: $1=objectIds (array)
ObjectStorage_SelectValuesWithTypes()
SELECT existing values with types. Params: $1=objectId, $2=structureIds (array)
Tree_DeleteValuesByObjectIds()
DELETE values by object IDs. Params: $1=objectIds (array)
ProMsSqlDialect
redb.MSSql.Pro.Sql
Materialization_SelectValuesByObjectAndStructureIds()
Bulk select values by object IDs and structure IDs.
Materialization_SelectValuesByObjectIds()
Bulk select values by object IDs.
ProObjectStorageProviderBase
redb.Core.Pro.Providers
AlignArrayBaseRecords(List<ValueTreeNode>, List<ValueTreeNode>, List<RedbValue>)
Aligns array base record IDs between old and new trees.
CloneRValue(RedbValue)
Deep copy RedbValue for data isolation in parallel context.
ExecuteBatchByStrategy(EavSaveStrategy, List<IRedbObject>, List<RedbValue>)
Pro: Batch strategy with ChangeTracking support.
PrepareValuesByStrategy(List<IRedbObject>, List<RedbValue>, bool)
Pro: Full strategy support including ChangeTracking.
PropertyMetadata
redb.PropsEditor.Services
GetValue(object)
Gets the value of this property from an object.
SetValue(object, object?)
Sets the value of this property on an object.
PropertyMigrationBuilder<TProps, TProp>
redb.Core.Pro.Migration
DefaultValue(TProp)
Default value for new field.
PropertyMigrationConfig
redb.Core.Pro.Migration
PropertyValueExpression
redb.Core.Query.QueryExpressions
PropertyValueExpression(PropertyInfo)
Reference to object property
ProPostgreSqlDialect
redb.Postgres.Pro.Sql
Materialization_SelectValuesByObjectAndStructureIds()
Bulk select values by object IDs and structure IDs.
Materialization_SelectValuesByObjectIds()
Bulk select values by object IDs.
ProPropsMaterializer
redb.Core.Pro.Materialization
GetObjectProps<TProps>(long, List<RedbValue>, long, int, ConcurrentBag<long>)
Analog of get_object_json - works with values from MEMORY!
ProSqlBuilder
redb.MSSql.Pro.Query
BuildPropsValueSubquery(FieldInfo, string, int?)
Generates subquery for getting Props value.
FormatValueLegacy(object?)
Formats value for SQL (legacy, without parameters).
ProSqlBuilder
redb.Postgres.Pro.Query
BuildPropsValueSubquery(FieldInfo, string, int?)
Generates subquery for getting Props value
RedbContextBase
redb.Core.Data
NextValueIdAsync()
Get next value ID.
NextValueIdBatchAsync(int)
Get batch of value IDs.
RedbKeyGeneratorBase
redb.Core.Data
NextValueIdAsync()
Get next value ID (uses shared static cache).
NextValueIdBatchAsync(int)
Get batch of value IDs.
RedbList
redb.Core.Models.Entities
FindItemByValue(string)
Find item by value.
RedbListItem
redb.Core.Models.Entities
GetDisplayValue()
Get display value.
Value
Item value.
RedbObject
redb.Core.Models.Entities
ValueBool
Primitive boolean value (for primitive schemas)
ValueBytes
Primitive byte array value (for primitive schemas)
ValueDatetime
Primitive datetime value (for primitive schemas)
ValueDouble
Primitive double value (for primitive schemas)
ValueGuid
Primitive GUID value (for primitive schemas)
ValueLong
Primitive long value (for primitive schemas)
ValueNumeric
Primitive decimal value (for primitive schemas)
ValueString
Primitive string value (for primitive schemas)
RedbObjectRow
redb.Core.Models.Entities
ValueBool
Boolean value stored directly in object row.
ValueBytes
Binary data stored directly in object row.
ValueDatetime
DateTime value stored directly in object row.
ValueDouble
Double value stored directly in object row.
ValueGuid
Guid value stored directly in object row.
ValueLong
Long value stored directly in object row.
ValueNumeric
Numeric/decimal value stored directly in object row.
ValueString
String value stored directly in object row.
RedbQueryable<TProps>
redb.Core.Query
WhereIn<TValue>(Expression<Func<TProps, TValue>>, IEnumerable<TValue>)
Filter by value in list (WHERE field IN (...)).
WhereInRedb<TValue>(Expression<Func<IRedbObject, TValue>>, IEnumerable<TValue>)
Filter by IRedbObject base field in list (WHERE _field IN (...)).
RedbStructure
redb.Core.Models.Entities
DefaultValue
Default value (binary).
RedbTypeMapping
redb.Core.Utils
GetObjectValueColumn(long)
Get _objects column name for RedbPrimitive value storage
GetValueColumn(long)
Get _values column name for type ID
RequiresValuesRecords(long)
Check if type requires _values records (vs direct storage in _objects.value*)
RedbValue
redb.Core.Models.Entities
RedbValue()
Default constructor for deserialization and mapping.
SchemeMetadataCacheRow
redb.Core.Pro.Models
SqlBulkOperations
redb.MSSql.Data
BulkDeleteValuesAsync(IEnumerable<long>)
Bulk delete values by IDs.
BulkDeleteValuesByListItemIdsAsync(IEnumerable<long>)
Bulk delete values by ListItem IDs.
BulkDeleteValuesByObjectIdsAsync(IEnumerable<long>)
Bulk delete values by object IDs.
BulkInsertValuesAsync(IEnumerable<RedbValue>)
Bulk insert values using SqlBulkCopy.
BulkUpdateValuesAsync(IEnumerable<RedbValue>)
Bulk update values using MERGE statement.
SqlParameterCollectorBase
redb.Core.Query.Parameters
NormalizeValue(object?)
Normalizes value before adding to parameters.
StructureChange
redb.Core.Providers
StructureRecord
redb.Export.Models
DefaultValue
Serialized default value.
TreeFilter
redb.Core.Query.Base
TreeQueryableBase<TProps>
redb.Core.Query.Base
WhereIn<TValue>(Expression<Func<TProps, TValue>>, IEnumerable<TValue>)
Filter by value in list (WHERE field IN (...)).
WhereInRedb<TValue>(Expression<Func<IRedbObject, TValue>>, IEnumerable<TValue>)
Filter by IRedbObject base field in list (WHERE _field IN (...)).
UserSearchCriteria
redb.Core.Models.Users
CodeGuidValue
Filter by GUID code (exact match, rarely used)
CodeIntValue
Filter by integer code (exact match)
KeyValue
Filter by user key (exact match)
ValueExpression
redb.Core.Query.QueryExpressions
ValueRecord
redb.Export.Models
ValuesTopologicalSort
redb.Core.Utils
SortByFkDependency(List<RedbValue>)
Sort values by ArrayParentId dependencies (single-threaded).
ValuesTopologicalSort
redb.Postgres.Utils
SortByFkDependency(List<RedbValue>)
Sort values by ArrayParentId dependencies (single-threaded).
ValueTreeBuilder
redb.Core.Pro.ChangeTracking
BuildTreeFromDB(List<RedbValue>, List<StructureTreeNode>)
Build tree from DB (existing data).
BuildTreeFromMemory(IRedbObject, List<StructureTreeNode>, Func<IRedbObject, List<StructureTreeNode>, List<RedbValue>, List<IRedbObject>, Task>)
Build tree from memory (new data).
PrintTree(List<ValueTreeNode>, int)
Diagnostics: print tree to string.
ValueTreeDiff
redb.Core.Pro.ChangeTracking
CompareTreesWithHash(List<ValueTreeNode>, List<ValueTreeNode>)
Compare two trees using hashes for optimization.
ValueTreeNode
redb.Core.Pro.ChangeTracking
ValueTupleDictionaryConverter<TKey, TValue>
redb.Core.Serialization
Write(Utf8JsonWriter, Dictionary<TKey, TValue>?, JsonSerializerOptions)
Writes a specified value as JSON.
ValueTupleDictionaryConverterFactory
redb.Core.Serialization
Win
redb.Core.Query.Aggregation
FirstValue<T>(T)
FIRST_VALUE(field) OVER (...)
LastValue<T>(T)
LAST_VALUE(field) OVER (...)