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
CreateConditionalValueExpression(ConditionalExpression)
Builds a from a C# ternary ?:.
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).
CityProps_Coordinates
redb.Examples.Ef.Entities
CoalesceExpression
redb.Core.Query.QueryExpressions
CoalesceExpression(IReadOnlyList<ValueExpression>)
Coalesce expression for the C# ?? operator and n-ary -style fallbacks.
ComparisonExpression
redb.Core.Query.QueryExpressions
ConditionalValueExpression
redb.Core.Query.QueryExpressions
ConditionalValueExpression(FilterExpression, ValueExpression, ValueExpression)
Conditional value (C# ternary ?: operator).
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
E120_ListItemWhereByValue_ef
redb.Examples.ExamplesEf
EmployeeProps_BonusByYear
redb.Examples.Ef.Entities
EmployeeProps_Certifications
redb.Examples.Ef.Entities
EmployeeProps_CertificationYears
redb.Examples.Ef.Entities
EmployeeProps_Contacts
redb.Examples.Ef.Entities
EmployeeProps_Contacts_Metadata
redb.Examples.Ef.Entities
EmployeeProps_Contacts_NotificationHours
redb.Examples.Ef.Entities
EmployeeProps_DepartmentHistory_BudgetByYear
redb.Examples.Ef.Entities
EmployeeProps_DepartmentHistory_Projects
redb.Examples.Ef.Entities
EmployeeProps_EmergencyAddress_Building_AccessCodes
redb.Examples.Ef.Entities
EmployeeProps_EmergencyAddress_Building_Amenities
redb.Examples.Ef.Entities
EmployeeProps_EmergencyAddress_Building_ElevatorFloors
redb.Examples.Ef.Entities
EmployeeProps_EmergencyAddress_Building_ParkingSpots
redb.Examples.Ef.Entities
EmployeeProps_HomeAddress_Building_AccessCodes
redb.Examples.Ef.Entities
EmployeeProps_HomeAddress_Building_Amenities
redb.Examples.Ef.Entities
EmployeeProps_HomeAddress_Building_ElevatorFloors
redb.Examples.Ef.Entities
EmployeeProps_HomeAddress_Building_ParkingSpots
redb.Examples.Ef.Entities
EmployeeProps_OfficeLocations_Building_AccessCodes
redb.Examples.Ef.Entities
EmployeeProps_OfficeLocations_Building_Amenities
redb.Examples.Ef.Entities
EmployeeProps_OfficeLocations_Building_ElevatorFloors
redb.Examples.Ef.Entities
EmployeeProps_OfficeLocations_Building_ParkingSpots
redb.Examples.Ef.Entities
EmployeeProps_PastProjects
redb.Examples.Ef.Entities
EmployeeProps_PerformanceReviews
redb.Examples.Ef.Entities
EmployeeProps_PhoneDirectory
redb.Examples.Ef.Entities
EmployeeProps_ProjectMetrics
redb.Examples.Ef.Entities
EmployeeProps_SkillLevels
redb.Examples.Ef.Entities
EmployeeProps_Skills
redb.Examples.Ef.Entities
EmployeeProps_WorkAddress_Building_AccessCodes
redb.Examples.Ef.Entities
EmployeeProps_WorkAddress_Building_Amenities
redb.Examples.Ef.Entities
EmployeeProps_WorkAddress_Building_ElevatorFloors
redb.Examples.Ef.Entities
EmployeeProps_WorkAddress_Building_ParkingSpots
redb.Examples.Ef.Entities
ExportFooter
redb.Export.Models
SequenceValue
Value of the global_identity sequence at the time of export.
TotalValues
Total number of property-value records exported.
FlatColumn
redb.Export.Flat.Model
ValueSource
The _values column the value is read from; for service columns.
FlatNaming
redb.Export.Flat
ValueColumn
Payload of a collection whose elements are not classes.
FlatValueSource
redb.Export.Flat.Model
FunctionCallExpression
redb.Core.Query.QueryExpressions
FunctionCallExpression(PropertyFunction, ValueExpression)
Function call on value (Pro Only)
IBulkOperations
redb.Core.Data
BulkDeleteValuesAsync(IEnumerable<long>, CancellationToken)
Bulk delete values by IDs.
BulkDeleteValuesAsync(IEnumerable<long>)
Bulk delete values by IDs.
BulkDeleteValuesByListItemIdsAsync(IEnumerable<long>, CancellationToken)
Bulk delete values by ListItem IDs.
BulkDeleteValuesByListItemIdsAsync(IEnumerable<long>)
Bulk delete values by ListItem IDs.
BulkDeleteValuesByObjectIdsAsync(IEnumerable<long>, CancellationToken)
Bulk delete values by object IDs.
BulkDeleteValuesByObjectIdsAsync(IEnumerable<long>)
Bulk delete values by object IDs.
BulkInsertValuesAsync(IEnumerable<RedbValue>, CancellationToken)
Bulk insert values using COPY protocol.
BulkInsertValuesAsync(IEnumerable<RedbValue>)
Bulk insert values using COPY protocol.
BulkUpdateValuesAsync(IEnumerable<RedbValue>, CancellationToken)
Bulk update values.
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.
NextValueIdAsync(CancellationToken)
Generate next unique ID for values.
NextValueIdBatchAsync(int, CancellationToken)
Generate batch of value IDs for bulk operations.
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.
NextValueIdAsync(CancellationToken)
Get next value ID.
NextValueIdBatchAsync(int, CancellationToken)
Get batch of value IDs.
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)
ValueUnique
Application-defined unique key of the object within its scheme (V4, UNIQUE stage 1).
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_ClearValueUniqueByIds(IEnumerable<long>)
UPDATE the listed objects to _value_unique = NULL (P7: release before take inside the batch
ObjectStorage_DeleteValuesByObjectId()
DELETE all values for object. Params: $1=objectId
ObjectStorage_SelectIdBySchemeValueUnique()
SELECT _id of the object holding a unique key in a scheme. Params: $1=schemeId, $2=valueUnique.
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)
Values_ClearUniqueByStructure()
UPDATE every row of a structure to _unique = NULL. Params: $1=structureId
Values_ClearUniqueByValueIds(IEnumerable<long>)
P7-аналог для ПОЛЕВЫХ ключей (Э2): освободить _values._unique у обновляемых строк перед
Values_DeleteByteArrayElements()
DELETE the per-byte element rows of a legacy Array-of-Byte structure: rows of the structure
Values_ExistsUnhashedByStructure(string)
SELECT 1 if the structure has a root scalar row with a value in typedColumn
Values_SelectByStructure()
SELECT every row of a structure (base and array-element rows alike) with RedbValue aliases.
Values_SelectElementRowsByStructure()
SELECT the ELEMENT rows of a collection structure — array index present — with their
Values_SelectObjectIdByUnique()
SELECT _id_object of the root scalar row holding a key. Params: $1=structureId, $2=unique (Guid).
Values_SelectRootScalarsByStructure()
SELECT the root scalar rows of a structure — no array parent, no array index — with their
Values_SetByteArrayScalar()
UPDATE one row into the scalar byte[] shape: _ByteArray = payload, _Guid and _Long cleared.
Values_UpdateUnique()
UPDATE one row's key. Params: $1=unique (Guid, nullable), $2=id
ISqlDialectPro
redb.Core.Pro.Query
Materialization_SelectValuesByObjectAndStructureIds()
Bulk select values by object IDs and structure IDs.
Materialization_SelectValuesByObjectIds()
Bulk select values by object IDs.
JsonEditor
redb.PropsEditor.Components
JsonValueConverter
redb.Core.Query.Utils
list_items
redb.Examples.Ef.Entities
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_ClearValueUniqueByIds(IEnumerable<long>)
UPDATE the listed objects to _value_unique = NULL (P7: release before take inside the batch
ObjectStorage_DeleteValuesByObjectId()
DELETE all values for object. Params: $1=objectId
ObjectStorage_SelectIdBySchemeValueUnique()
SELECT _id of the object holding a unique key in a scheme. Params: $1=schemeId, $2=valueUnique.
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)
Values_ClearUniqueByStructure()
UPDATE every row of a structure to _unique = NULL. Params: $1=structureId
Values_ClearUniqueByValueIds(IEnumerable<long>)
P7-аналог для ПОЛЕВЫХ ключей (Э2): освободить _values._unique у обновляемых строк перед
Values_DeleteByteArrayElements()
DELETE the per-byte element rows of a legacy Array-of-Byte structure: rows of the structure
Values_ExistsUnhashedByStructure(string)
SELECT 1 if the structure has a root scalar row with a value in typedColumn
Values_SelectByStructure()
SELECT every row of a structure (base and array-element rows alike) with RedbValue aliases.
Values_SelectElementRowsByStructure()
SELECT the ELEMENT rows of a collection structure — array index present — with their
Values_SelectObjectIdByUnique()
SELECT _id_object of the root scalar row holding a key. Params: $1=structureId, $2=unique (Guid).
Values_SelectRootScalarsByStructure()
SELECT the root scalar rows of a structure — no array parent, no array index — with their
Values_SetByteArrayScalar()
UPDATE one row into the scalar byte[] shape: _ByteArray = payload, _Guid and _Long cleared.
Values_UpdateUnique()
UPDATE one row's key. Params: $1=unique (Guid, nullable), $2=id
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
MultiArgFunctionCallExpression
redb.Core.Query.QueryExpressions
MultiArgFunctionCallExpression(PropertyFunction, IReadOnlyList<ValueExpression>)
Multi-argument function call (Pro Only).
NestedArrayEditor
redb.PropsEditor.Components
OnValueChanged
Called when the value changes.
Value
The current array value.
NestedObjectEditor
redb.PropsEditor.Components
OnValueChanged
Called when the value changes.
Value
The current value of the object.
NpgsqlBulkOperations
redb.Postgres.Data
BulkDeleteValuesAsync(IEnumerable<long>, CancellationToken)
Bulk delete values by IDs.
BulkDeleteValuesAsync(IEnumerable<long>)
Bulk delete values by IDs.
BulkDeleteValuesByListItemIdsAsync(IEnumerable<long>, CancellationToken)
Bulk delete values by ListItem IDs.
BulkDeleteValuesByListItemIdsAsync(IEnumerable<long>)
Bulk delete values by ListItem IDs.
BulkDeleteValuesByObjectIdsAsync(IEnumerable<long>, CancellationToken)
Bulk delete values by object IDs.
BulkDeleteValuesByObjectIdsAsync(IEnumerable<long>)
Bulk delete values by object IDs.
BulkInsertValuesAsync(IEnumerable<RedbValue>, CancellationToken)
Bulk insert values using COPY protocol.
BulkInsertValuesAsync(IEnumerable<RedbValue>)
Bulk insert values using COPY protocol.
BulkUpdateValuesAsync(IEnumerable<RedbValue>, CancellationToken)
Bulk update values using UPDATE FROM VALUES.
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).
ValueUnique
Unique key within the scheme (V4, UNIQUE stage 1).
objects
redb.Examples.Ef.Entities
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.
DeduplicateValueInserts(List<RedbValue>, string)
Deduplicates value insert list by unique constraint key (IdStructure, IdObject, ArrayParentId, Array...
DeduplicateValueUpdates(List<RedbValue>, string)
Deduplicates value update list by Id to prevent MERGE/UPDATE conflicts
ExecuteBatchByStrategy(EavSaveStrategy, List<IRedbObject>, List<RedbValue>)
Executes batch save by strategy. OpenSource: only DeleteInsert.
ExecuteBatchByStrategy(PropsSaveStrategy, List<IRedbObject>, List<RedbValue>, ISet<long>?, CancellationToken)
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>, ISet<long>?, CancellationToken)
STEP 5: Recursive processing of Props of all objects → RedbValue lists
ProcessAllObjectsPropertiesRecursively(List<IRedbObject>, List<RedbValue>)
🔄 STEP 5: Recursive processing of Props of all objects → RedbValue lists
SaveBatchWithDeleteInsertStrategy(List<IRedbObject>, List<RedbValue>, CancellationToken)
DeleteInsert batch strategy: delete ALL values, BulkInsert/BulkUpdate of objects, BulkInsert of valu...
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.
PersonProps_Roles
redb.Examples.Ef.Entities
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_ClearValueUniqueByIds(IEnumerable<long>)
UPDATE the listed objects to _value_unique = NULL (P7: release before take inside the batch
ObjectStorage_DeleteValuesByObjectId()
DELETE all values for object. Params: $1=objectId
ObjectStorage_SelectIdBySchemeValueUnique()
SELECT _id of the object holding a unique key in a scheme. Params: $1=schemeId, $2=valueUnique.
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)
Values_ClearUniqueByStructure()
UPDATE every row of a structure to _unique = NULL. Params: $1=structureId
Values_ClearUniqueByValueIds(IEnumerable<long>)
P7-аналог для ПОЛЕВЫХ ключей (Э2): освободить _values._unique у обновляемых строк перед
Values_CreateStringCollationIndex(string)
The statement that builds the index serving (_String COLLATE "collation") ILIKE under
Values_DeleteByteArrayElements()
DELETE the per-byte element rows of a legacy Array-of-Byte structure: rows of the structure
Values_DropStringCollationIndex(string)
Drops an INVALID leftover of an interrupted build of .
Values_ExistsUnhashedByStructure(string)
SELECT 1 if the structure has a root scalar row with a value in typedColumn
Values_SelectByStructure()
SELECT every row of a structure (base and array-element rows alike) with RedbValue aliases.
Values_SelectElementRowsByStructure()
SELECT the ELEMENT rows of a collection structure — array index present — with their
Values_SelectObjectIdByUnique()
SELECT _id_object of the root scalar row holding a key. Params: $1=structureId, $2=unique (Guid).
Values_SelectRootScalarsByStructure()
SELECT the root scalar rows of a structure — no array parent, no array index — with their
Values_SetByteArrayScalar()
UPDATE one row into the scalar byte[] shape: _ByteArray = payload, _Guid and _Long cleared.
Values_StringCollationIndexInvalid()
Whether the index named by exists and is INVALID. Params: $1 = index name.
Values_StringCollationIndexState()
Whether _values has a trigram index that serves (_String COLLATE "$1") ILIKE: a GIN index of one
Values_UpdateUnique()
UPDATE one row's key. Params: $1=unique (Guid, nullable), $2=id
ProjectMetricsProps_Technologies
redb.Examples.Ef.Entities
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.
ExecuteBatchByStrategy(PropsSaveStrategy, List<IRedbObject>, List<RedbValue>, ISet<long>?, CancellationToken)
Pro: Batch strategy with ChangeTracking support.
PrepareValuesByStrategy(List<IRedbObject>, List<RedbValue>, bool)
Pro: Full strategy support including ChangeTracking.
PropertyField
redb.PropsEditor.Components
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!
PropsEditor<TProps>
redb.PropsEditor.Components
Value
The Props object to edit.
ValueChanged
Called when the value changes.
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
PvtPrefilterPredicate
redb.Core.Pro.Query
RedbContextBase
redb.Core.Data
NextValueIdAsync()
Get next value ID.
NextValueIdAsync(CancellationToken)
Get next value ID.
NextValueIdBatchAsync(int, CancellationToken)
Get batch of value IDs.
NextValueIdBatchAsync(int)
Get batch of value IDs.
RedbKeyGeneratorBase
redb.Core.Data
NextValueIdAsync()
Get next value ID (uses shared static cache).
NextValueIdAsync(CancellationToken)
Get next value ID (uses shared static cache).
NextValueIdBatchAsync(int, CancellationToken)
Get batch of value IDs.
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
value_string
Identifier / external-key value (RedbPrimitive<string>). Contract limit 450 characters
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)
ValueUnique
Application-defined unique key of the object within its scheme (V4, UNIQUE stage 1).
RedbObjectEditor<TProps>
redb.PropsEditor.Components
Value
The RedbObject to edit.
ValueChanged
Called when any value changes.
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.
ValueUnique
Unique key within the scheme (V4, UNIQUE stage 1).
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*)
RedbUniqueKeyValueException
redb.Core.Exceptions
RedbUniqueKeyValueException(string)
An object-level key (Э1, _objects._value_unique) that cannot be stored.
RedbValue
redb.Core.Models.Entities
RedbValue()
Default constructor for deserialization and mapping.
RedbValueChange
redb.Core.Interception
RedbValueChangeType
redb.Core.Interception
RedbValueStringTooLongException
redb.Core.Exceptions
SchemeMetadataCacheRow
redb.Core.Pro.Models
SqlBulkOperations
redb.MSSql.Data
BulkDeleteValuesAsync(IEnumerable<long>, CancellationToken)
Bulk delete values by IDs.
BulkDeleteValuesAsync(IEnumerable<long>)
Bulk delete values by IDs.
BulkDeleteValuesByListItemIdsAsync(IEnumerable<long>, CancellationToken)
Bulk delete values by ListItem IDs.
BulkDeleteValuesByListItemIdsAsync(IEnumerable<long>)
Bulk delete values by ListItem IDs.
BulkDeleteValuesByObjectIdsAsync(IEnumerable<long>, CancellationToken)
Bulk delete values by object IDs.
BulkDeleteValuesByObjectIdsAsync(IEnumerable<long>)
Bulk delete values by object IDs.
BulkInsertValuesAsync(IEnumerable<RedbValue>, CancellationToken)
Bulk insert values using SqlBulkCopy.
BulkInsertValuesAsync(IEnumerable<RedbValue>)
Bulk insert values using SqlBulkCopy.
BulkUpdateValuesAsync(IEnumerable<RedbValue>, CancellationToken)
Bulk update values using MERGE statement.
BulkUpdateValuesAsync(IEnumerable<RedbValue>)
Bulk update values using MERGE statement.
SqliteProvider
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
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 (...)).
UniqueDuplicateGroup
redb.Core.Models
ValueIds
_values._id of every row in the group, lowest first; the first kept the key.
UniqueKeyEncoder
redb.Core.Utils
CanonicalText(RedbValue, out byte)
The canonical text of a scalar column, with the column tag; null when no scalar
Compute(RedbValue, long?)
The salted form for collection-scoped element keys (S3): the same canonical content,
Compute(RedbValue)
The key for value's typed content, or null when every typed column
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 (...)