API Reference
Обзор документации REDB API. Выберите пространство имён или тип в дереве слева, или кликните по элементам ниже.
Результаты поиска: Key
Очистить
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)
Count<TKey, TProps>(IRedbGrouping<TKey, TProps>, Expression<Func<TProps, bool>>)
Count of the members of a group that satisfy a condition: Agg.Count(g, c => c.IsVerified).
Count<TKey, TProps>(IRedbGrouping<TKey, TProps>)
Count in a group: Agg.Count(g)
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)
BaseFilterExpressionParser
redb.Core.Query.Parsing
VisitDictionaryContainsKey(MethodCallExpression)
Dictionary.ContainsKey visitor.
CreateUserRequest
redb.Core.Models.Users
Key
Additional user key (optional)
E003_UniqueKeys
redb.Examples.Examples
E003_UniqueKeys_ef
redb.Examples.ExamplesEf
E004_SubtreeAndElementKeys
redb.Examples.Examples
E004_SubtreeAndElementKeys_ef
redb.Examples.ExamplesEf
E060_DictContainsKey
redb.Examples.Examples
E060_DictContainsKey_ef
redb.Examples.ExamplesEf
E063_DictTupleKey
redb.Examples.Examples
E063_DictTupleKey_ef
redb.Examples.ExamplesEf
E130_GroupByMultiKey
redb.Examples.Examples
E130_GroupByMultiKey_ef
redb.Examples.ExamplesEf
EmployeeProps_BonusByYear
redb.Examples.Ef.Entities
EmployeeProps_DepartmentHistory
redb.Examples.Ef.Entities
EmployeeProps_DepartmentHistory_BudgetByYear
redb.Examples.Ef.Entities
EmployeeProps_OfficeLocations
redb.Examples.Ef.Entities
EmployeeProps_PerformanceReviews
redb.Examples.Ef.Entities
EmployeeProps_PhoneDirectory
redb.Examples.Ef.Entities
EmployeeProps_ProjectMetrics
redb.Examples.Ef.Entities
ExampleResultProps_Results
redb.Examples.Ef.Entities
ExpressionSqlCache
redb.Core.Query.Caching
BuildCacheKey<TProps>(Expression<Func<TProps, bool>>, long)
Generates stable cache key from Expression (without constant values).
BuildCacheKey<TProps>(Expression<Func<TProps, bool>>?, IEnumerable<(string field, bool desc)>?, long)
Generates cache key for ordering + filter combination.
FieldInfo
redb.Core.Query.Models
DictKey
For Dictionary fields: the key (e.g., "home" for PhoneBook["home"])
FieldPathInfo
redb.Core.Query.Projection
DictKey
Dictionary key (for AddressBook["home"])
FlatColumn
redb.Export.Flat.Model
KeyComponent
For one component of a tuple key: the field of the tuple (Item1, Item2, ...), as stored in the key J...
FlatColumnRole
redb.Export.Flat.Model
DictionaryKey
Dictionary key or one component of it, read from _array_index.
PrimaryKey
Primary key: the object id in a scheme table, the _values._id of the row elsewhere.
FlatDdlGenerator
redb.Export.Flat
AddForeignKeys(FlatTable)
The statements that add the foreign keys of table. Empty for a provider
FlatForeignKey
redb.Export.Flat.Model
FlatKeyKind
redb.Export.Flat.Model
FlatNaming
redb.Export.Flat
KeyColumn
Dictionary key; the prefix of the per-component columns of a tuple key.
FlatStorageType
redb.Export.Flat
KeyText
Text that takes part in a unique constraint (a dictionary key).
FlatTable
redb.Export.Flat.Model
ForeignKeys
Foreign keys. They are meant to be created after every table exists: a reference may point to a tabl...
KeyKind
How the key is laid out, for a dictionary table.
KeyType
CLR type of the key, for a dictionary table.
PrimaryKey
Name of the primary key column.
PrimaryKeyName
Name of the primary key constraint.
GroupedWindowedQueryable<TKey, TProps>
redb.Core.Query.Grouping
GroupedWindowedQueryable(IRedbQueryProvider, long, Expression, GroupedWindowSpec<TKey, TProps>, FilterExpression?)
Constructor with FilterExpression (Pro version).
GroupedWindowedQueryable(IRedbQueryProvider, long, Expression, GroupedWindowSpec<TKey, TProps>, string?, FilterExpression?, string?)
Constructor for a GroupBy with HAVING: the window runs over the groups that pass it.
GroupedWindowedQueryable(IRedbQueryProvider, long, Expression, GroupedWindowSpec<TKey, TProps>, string?)
Constructor with filterJson (legacy compatibility).
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>, CancellationToken)
Execute query and materialize results with window functions applied to groups.
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)
Execute query and materialize results with window functions applied to groups.
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>, CancellationToken)
Get SQL preview for debugging.
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)
Get SQL preview for debugging.
GroupedWindowSpec<TKey, TProps>
redb.Core.Query.Grouping
OrderBy<TField>(Expression<Func<IRedbGrouping<TKey, TProps>, TField>>)
Order rows within window ascending.
OrderByDesc<TField>(Expression<Func<IRedbGrouping<TKey, TProps>, TField>>)
Order rows within window descending.
PartitionBy<TField>(Expression<Func<TKey, TField>>)
Partition window by group key field (for ranking within partitions).
IGroupedWindowedQueryable<TKey, TProps>
redb.Core.Query.Grouping
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>, CancellationToken)
Execute query and materialize results with window functions applied to groups.
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)
Execute query and materialize results with window functions applied to groups.
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>, CancellationToken)
Get SQL preview for debugging.
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)
Get SQL preview for debugging.
IGroupedWindowSpec<TKey, TProps>
redb.Core.Query.Grouping
OrderBy<TField>(Expression<Func<IRedbGrouping<TKey, TProps>, TField>>)
Order rows within window ascending.
OrderByDesc<TField>(Expression<Func<IRedbGrouping<TKey, TProps>, TField>>)
Order rows within window descending.
PartitionBy<TField>(Expression<Func<TKey, TField>>)
Partition window by group key field (for ranking within partitions).
IKeyGenerator
redb.Core.Data
IndexCriticality
redb.Core.Providers
ForeignKey
Serves a foreign key.
PrimaryKey
Backs a primary key.
IndexStatistics
redb.Core.Providers
BacksForeignKey
The index serves a foreign key, so dropping it turns key checks into scans.
IsPrimaryKey
The index backs a primary key.
IOrderedRedbQueryable<TProps>
redb.Core.Query
ThenBy<TKey>(Expression<Func<TProps, TKey>>)
Additional ascending sort by Props field.
ThenByDescending<TKey>(Expression<Func<TProps, TKey>>)
Additional descending sort by Props field.
ThenByDescendingRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Additional descending sort by IRedbObject base fields.
ThenByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Additional ascending sort by IRedbObject base fields.
IOrderingExpressionParser
redb.Core.Query.QueryExpressions
ParseMultipleOrderings<TProps>(IEnumerable<(LambdaExpression KeySelector, SortDirection Direction)>)
Parse multiple sorting
ParseOrdering<TProps, TKey>(Expression<Func<TProps, TKey>>, SortDirection)
Parse sorting expression (Props fields)
ParseRedbOrdering<TKey>(Expression<Func<IRedbObject, TKey>>, SortDirection)
Parse sorting expression by base IRedbObject fields (id, name, date_create, etc.)
IRedbContext
redb.Core.Data
Keys
Key generator with caching.
IRedbGroupedQueryable<TKey, TProps>
redb.Core.Query.Grouping
Having(Expression<Func<IRedbGrouping<TKey, TProps>, bool>>)
Filter groups by a predicate over aggregates (SQL HAVING).
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>, CancellationToken)
Executes projection with aggregations for each group.
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)
Executes projection with aggregations for each group.
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>, CancellationToken)
Returns SQL string that will be executed for this GroupBy query.
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)
Returns SQL string that will be executed for this GroupBy query.
WithWindow(Action<IGroupedWindowSpec<TKey, TProps>>)
Apply window functions to grouped results.
IRedbGrouping<TKey, TProps>
redb.Core.Query.Grouping
Key
Group key (value by which grouped).
IRedbObject
redb.Core.Models.Contracts
Key
Object key field
IRedbOptionsBuilderInfrastructure
redb.Core.Extensions
LicenseKey
License key for Pro features (JWT token).
IRedbProjectedQueryable<TResult>
redb.Core.Query
OrderBy<TKey>(Expression<Func<TResult, TKey>>)
Sort projected results.
OrderByDescending<TKey>(Expression<Func<TResult, TKey>>)
Sort projected results descending.
ThenBy<TKey>(Expression<Func<TResult, TKey>>)
Adds a key to the ordering started by OrderBy or OrderByDescending.
ThenByDescending<TKey>(Expression<Func<TResult, TKey>>)
Adds a descending key to the ordering started by OrderBy or OrderByDescending.
IRedbQueryable<TProps>
redb.Core.Query
DistinctBy<TKey>(Expression<Func<TProps, TKey>>)
DISTINCT ON (field) - one object per unique Props field value.
DistinctByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
DISTINCT ON (base_field) - one object per unique IRedbObject base field value.
GroupBy<TKey>(Expression<Func<TProps, TKey>>)
Group by field with subsequent aggregation.
GroupByArray<TItem, TKey>(Expression<Func<TProps, IEnumerable<TItem>>>, Expression<Func<TItem, TKey>>)
Group by the elements of an array. The array is a chain of fields (x => x.Items,
GroupByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Group by IRedbObject base fields (id, scheme_id, parent_id, etc.).
OrderBy<TKey>(Expression<Func<TProps, TKey>>)
Sort ascending by Props field.
OrderByDescending<TKey>(Expression<Func<TProps, TKey>>)
Sort descending by Props field.
OrderByDescendingRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort descending by IRedbObject base fields.
OrderByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort ascending by IRedbObject base fields (id, name, date_create, etc.).
IRedbStructure
redb.Core.Models.Contracts
KeyType
Key type ID for Dictionary fields. NULL for non-dictionary fields
ISqlDialect
redb.Core.Query
Structures_CreateRootKey()
CREATE the unique key of root structures. No params.
Structures_RootKeyExists()
SELECT returning a row when the unique key of root structures exists. No params. null: the engine ne...
Structures_UpdateKeyType()
UPDATE structure key type. Params: $1=keyType, $2=structureId
IWindowSpec<TProps>
redb.Core.Query.Window
OrderBy<TKey>(Expression<Func<TProps, TKey>>)
Sort within window by Props field (ascending).
OrderByDesc<TKey>(Expression<Func<TProps, TKey>>)
Sort within window by Props field (descending).
OrderByDescRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort within window by IRedbObject base field (descending).
OrderByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort within window by IRedbObject base field (ascending).
PartitionBy<TKey>(Expression<Func<TProps, TKey>>)
Partition by Props field.
PartitionByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Partition by IRedbObject base field (SchemeId, OwnerId, etc.).
LicenseInfo
redb.Core.Pro.Licensing
KeyId
RSA key identifier for key rotation (e.g., "app-2024-01")
MsSqlDialect
redb.MSSql.Sql
Structures_CreateRootKey()
CREATE the unique key of root structures. No params.
Structures_RootKeyExists()
SELECT returning a row when the unique key of root structures exists. No params. null: the engine ne...
Structures_UpdateKeyType()
UPDATE structure key type. Params: $1=keyType, $2=structureId
NpgsqlKeyGenerator
redb.Postgres.Data
GenerateKeysAsync(int)
Generate batch of keys from PostgreSQL sequence.
NpgsqlKeyGenerator(NpgsqlDataSource, string?, Func<IRedbConnection?>?)
Create PostgreSQL key generator.
NpgsqlKeyGenerator(NpgsqlDataSource)
Create PostgreSQL key generator.
NpgsqlKeyGenerator(string, string?)
Create PostgreSQL key generator from connection string.
NpgsqlKeyGenerator(string)
Create PostgreSQL key generator from connection string.
TryGenerateKeysInAmbientTransactionAsync(int)
Inside a TransactionScope a refill on a connection of its own would be a second connection in the
NpgsqlRedbContext
redb.Postgres.Data
Keys
Key generator with caching.
ObjectRecord
redb.Export.Models
Key
Optional numeric key.
ObjectStorageProviderBase
redb.Core.Providers.Base
ResolveObjectIdByUniqueKeyAsync(long, string?, CancellationToken)
The single point where resolves "who owns this
OrderingExpressionParser
redb.Core.Query
ParseMultipleOrderings<TProps>(IEnumerable<(LambdaExpression KeySelector, SortDirection Direction)>)
Parse multiple orderings.
ParseOrdering<TProps, TKey>(Expression<Func<TProps, TKey>>, SortDirection)
Parse ordering expression for Props fields.
ParseRedbOrdering<TKey>(Expression<Func<IRedbObject, TKey>>, SortDirection)
Parse sorting by base IRedbObject fields (id, name, date_create, etc.)
PostgreSqlDialect
redb.Postgres.Sql
Structures_CreateRootKey()
CREATE the unique key of root structures. No params.
Structures_RootKeyExists()
SELECT returning a row when the unique key of root structures exists. No params. null: the engine ne...
Structures_UpdateKeyType()
UPDATE structure key type. Params: $1=keyType, $2=structureId
ProSqlBuilder
redb.MSSql.Pro.Query
BuildGroupKeyColumn(GroupFieldRequest, IReadOnlyDictionary<string, FieldInfo>, string)
The pivot column a GROUP BY key reads: the object's own column for a base key, the pivot
ProSqlBuilder
redb.Postgres.Pro.Query
BuildGroupKeyColumn(GroupFieldRequest, IReadOnlyDictionary<string, FieldInfo>, string)
The pivot column a GROUP BY key reads: the object's own column for a base key, the pivot
RedbArrayGroupedQueryable<TKey, TItem, TProps>
redb.Core.Query.Grouping
Having(Expression<Func<IRedbGrouping<TKey, TItem>, bool>>)
Filter groups by a predicate over aggregates (SQL HAVING).
RedbArrayGroupedQueryable(IRedbQueryProvider, long, string?, FilterExpression?, Expression<Func<TProps, IEnumerable<TItem>>>, Expression<Func<TItem, TKey>>)
Flat grouping; filterJson is not used, the condition comes from filter.
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TItem>, TResult>>, CancellationToken)
Executes projection with aggregations for each group.
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TItem>, TResult>>)
Executes projection with aggregations for each group.
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TItem>, TResult>>, CancellationToken)
Returns SQL string that will be executed for this GroupBy query.
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TItem>, TResult>>)
Returns SQL string for array GroupBy query.
WithWindow(Action<IGroupedWindowSpec<TKey, TItem>>)
Apply window functions to grouped results.
RedbContextBase
redb.Core.Data
Keys
Key generator.
RedbGroupedQueryable<TKey, TProps>
redb.Core.Query.Grouping
Having(Expression<Func<IRedbGrouping<TKey, TProps>, bool>>)
Filter groups by a predicate over aggregates (SQL HAVING).
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>, CancellationToken)
Executes projection with aggregations for each group.
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)
Executes projection with aggregations for each group.
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>, CancellationToken)
Returns SQL string that will be executed for this GroupBy query.
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)
Returns SQL string that will be executed for this GroupBy query.
WithWindow(Action<IGroupedWindowSpec<TKey, TProps>>)
Apply window functions to grouped results: the window runs over the groups that pass Having.
RedbKeyGeneratorBase
redb.Core.Data
GenerateKeysAsync(int)
Generate batch of keys from database sequence.
TryGenerateKeysInAmbientTransactionAsync(int)
Provider hook for a refill that must not use a SEPARATE connection, bypassing the shared cache:
RedbKeySerializer
redb.Core.Utils
CanBeKey(Type)
Check if C# type is valid as Dictionary key
Deserialize<TKey>(string)
Deserialize _array_index text value to key
GetKeyTypeId(Type)
Get RedbTypeIds constant for key type
IsComplexKey(Type)
Check if key type is a complex type requiring JSON serialization
Serialize<TKey>(TKey)
Serialize key to _array_index text value
RedbObject
redb.Core.Models.Entities
RedbObjectRow
redb.Core.Models.Entities
Key
External key for integration.
RedbProjectedQueryable<TProps, TResult>
redb.Core.Query
OrderBy<TKey>(Expression<Func<TResult, TKey>>)
Sort projected results.
OrderByDescending<TKey>(Expression<Func<TResult, TKey>>)
Sort projected results descending.
ThenBy<TKey>(Expression<Func<TResult, TKey>>)
Adds a key to the ordering started by OrderBy or OrderByDescending.
ThenByDescending<TKey>(Expression<Func<TResult, TKey>>)
Adds a descending key to the ordering started by OrderBy or OrderByDescending.
RedbProjectedQueryableTaskExtensions
redb.Core.Query
RedbQueryable<TProps>
redb.Core.Query
DistinctBy<TKey>(Expression<Func<TProps, TKey>>)
DISTINCT ON (field) - one object per unique Props field value.
DistinctByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
DISTINCT ON (base_field) - one object per unique IRedbObject base field value.
GroupBy<TKey>(Expression<Func<TProps, TKey>>)
Grouping with aggregations.
GroupByArray<TItem, TKey>(Expression<Func<TProps, IEnumerable<TItem>>>, Expression<Func<TItem, TKey>>)
Grouping by array elements
GroupByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Grouping by base IRedbObject fields (id, scheme_id, parent_id, etc.)
OrderBy<TKey>(Expression<Func<TProps, TKey>>)
Sort ascending by Props field.
OrderByDescending<TKey>(Expression<Func<TProps, TKey>>)
Sort descending by Props field.
OrderByDescendingRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort descending by IRedbObject base fields.
OrderByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort ascending by IRedbObject base fields (id, name, date_create, etc.).
ThenBy<TKey>(Expression<Func<TProps, TKey>>)
Additional ascending sort by Props field.
ThenByDescending<TKey>(Expression<Func<TProps, TKey>>)
Additional descending sort by Props field.
ThenByDescendingRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Additional descending sort by IRedbObject base fields.
ThenByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Additional ascending sort by IRedbObject base fields.
RedbServiceBase
redb.Core
EnsureRootStructureKeyAsync()
Builds the unique key of root structures when it is missing, removing empty duplicates first. Called...
IsRootStructureKeyMissingAsync()
Whether the engine needs the unique key of root structures () and the
RedbStructure
redb.Core.Models.Entities
KeyType
Key type ID for Dictionary fields. NULL for non-dictionary fields.
RedbTypeMapping
redb.Core.Utils
CanBeKey(long)
Check if type can be used as Dictionary key
RedbUniqueKeyDefinitionException
redb.Core.Exceptions
RedbUniqueKeyValueException
redb.Core.Exceptions
RedbUniqueKeyValueException(string)
An object-level key (Э1, _objects._value_unique) that cannot be stored.
RedbUniqueViolationKind
redb.Core.Exceptions
ObjectKey
The object key: UIX__objects__scheme_unique over
RootStructureKey
redb.Core.Data
SchemeMetadataCacheRow
redb.Core.Pro.Models
SqlKeyGenerator
redb.MSSql.Data
GenerateKeysAsync(int)
Generate batch of keys from MSSQL sequence.
SqlKeyGenerator(string, string?, Func<IRedbConnection?>?)
Create MSSQL key generator from connection string.
SqlKeyGenerator(string)
Create MSSQL key generator from connection string.
TryGenerateKeysInAmbientTransactionAsync(int)
Inside a TransactionScope a refill on a connection of its own would be a second connection in the
SqlRedbContext
redb.MSSql.Data
Keys
Key generator with caching.
StructureRecord
redb.Export.Models
KeyType
Key type for dictionary-typed fields.
TreeGroupedQueryable<TKey, TProps>
redb.Core.Query.Grouping
Having(Expression<Func<IRedbGrouping<TKey, TProps>, bool>>)
Filter groups by a predicate over aggregates (SQL HAVING).
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>, CancellationToken)
Executes projection with aggregations for each group.
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)
Executes projection with aggregations for each group.
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>, CancellationToken)
Returns SQL string that will be executed for this GroupBy query.
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)
Returns SQL string that will be executed for this GroupBy query.
WithWindow(Action<IGroupedWindowSpec<TKey, TProps>>)
Apply window functions to grouped results (tree-aware): the window runs over the groups that pass Ha...
TreeGroupedWindowedQueryable<TKey, TProps>
redb.Core.Query.Grouping
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)
Execute query and materialize results with window functions applied to groups.
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)
Get SQL preview for debugging.
TreeProjectedQueryable<TProps, TResult>
redb.Core.Query
OrderBy<TKey>(Expression<Func<TResult, TKey>>)
Sort projected results.
OrderByDescending<TKey>(Expression<Func<TResult, TKey>>)
Sort projected results descending.
ThenBy<TKey>(Expression<Func<TResult, TKey>>)
Adds a key to the ordering started by OrderBy or OrderByDescending.
ThenByDescending<TKey>(Expression<Func<TResult, TKey>>)
Adds a descending key to the ordering started by OrderBy or OrderByDescending.
TreeQueryableBase<TProps>
redb.Core.Query.Base
DistinctBy<TKey>(Expression<Func<TProps, TKey>>)
DISTINCT ON (field) - one object per unique Props field value.
DistinctByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
DISTINCT ON (base_field) - one object per unique IRedbObject base field value.
GroupBy<TKey>(Expression<Func<TProps, TKey>>)
Override GroupBy to respect tree context (rootObjectId, maxDepth, ParentIds).
GroupByArray<TItem, TKey>(Expression<Func<TProps, IEnumerable<TItem>>>, Expression<Func<TItem, TKey>>)
Override GroupByArray to respect tree context: only the elements of the objects of the subtree are g...
GroupByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Override GroupByRedb to respect tree context.
OrderBy<TKey>(Expression<Func<TProps, TKey>>)
FIX ISSUE #4: Override OrderBy to preserve Tree context
OrderByDescending<TKey>(Expression<Func<TProps, TKey>>)
FIX ISSUE #4: Override OrderByDescending for Tree context
OrderByDescendingRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort descending by IRedbObject base fields.
OrderByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort ascending by IRedbObject base fields (id, name, date_create, etc.).
ThenBy<TKey>(Expression<Func<TProps, TKey>>)
FIX ISSUE #4: Override ThenBy for Tree context
ThenByDescending<TKey>(Expression<Func<TProps, TKey>>)
FIX ISSUE #4: Override ThenByDescending for Tree context
ThenByDescendingRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Additional descending sort by IRedbObject base fields.
ThenByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Additional ascending sort by IRedbObject base fields.
TrustedIssuers
redb.Core.Pro.Licensing
GetPublicKey(string, string)
Gets the public key for a specific issuer and key ID.
UniqueDuplicateGroup
redb.Core.Models
Key
The colliding key.
UniqueKeyEncoder
redb.Core.Utils
UpdateUserRequest
redb.Core.Models.Users
Key
New additional key (if null - not changed)
UserRecord
redb.Export.Models
Key
Optional numeric key.
UserSearchCriteria
redb.Core.Models.Users
KeyValue
Filter by user key (exact match)
UserSortField
redb.Core.Models.Users
ValueTupleDictionaryConverter<TKey, TValue>
redb.Core.Serialization
Write(Utf8JsonWriter, Dictionary<TKey, TValue>?, JsonSerializerOptions)
Writes a specified value as JSON.
WindowSpec<TProps>
redb.Core.Query.Window
OrderBy<TKey>(Expression<Func<TProps, TKey>>)
Sort within window by Props field (ascending).
OrderByDesc<TKey>(Expression<Func<TProps, TKey>>)
Sort within window by Props field (descending).
OrderByDescRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort within window by IRedbObject base field (descending).
OrderByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort within window by IRedbObject base field (ascending).
PartitionBy<TKey>(Expression<Func<TProps, TKey>>)
Partition by Props field.
PartitionByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Partition by IRedbObject base field (SchemeId, OwnerId, etc.).