RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

API Reference

Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.

Showing: redb.Core.Pro Show all

redb.Core.Pro.ChangeTracking

Classes

C TreeChange Change in data tree.
C ValueTreeBuilder Tree builder from memory and DB.
C ValueTreeDiff Tree comparison with hash optimization.
C ValueTreeNode Tree node for tree-based ChangeTracking.

Enums

E ChangeType Change type when comparing trees.

redb.Core.Pro.Extensions

Classes

C RedbProServiceCollectionExtensions Extension methods for registering REDB Pro services.

redb.Core.Pro.Materialization

Classes

C ProLazyPropsLoader Pro implementation of lazy Props loading with PVT materialization.
C ProPropsMaterializer Pro Props materializer with optimized algorithms.
C SchemeHashRow A scheme's structure hash as the database holds it (_id, _structure_hash of _schemes).

redb.Core.Pro.Migration

Classes

C MigrationBuilder<TProps> IMigrationBuilder implementation - collects migration configurations
C MigrationDiscovery Automatic migration discovery in assemblies.
C MigrationExecutor Executes data migrations with support for dry-run, logging and history.
C MigrationExpressionCompiler Expression to SQL compiler for migrations.
C MigrationExtensions Extension methods for working with migrations.
C MigrationInfo Found migration information
C MigrationResult Migration execution result
C MigrationServiceCollectionExtensions DI registration for migration services.
C MigrationSql Migration compilation result to SQL
C PropertyMigrationBuilder<TProps, TProp> IPropertyMigrationBuilder implementation
C PropertyMigrationConfig Migration configuration for single property

Interfaces

I IMigrationBuilder<TProps> Builder for configuring property migrations.
I IPropertyMigrationBuilder<TProps, TProp> Builder for configuring migration of specific property
I IRedbMigration<TProps> Migration configuration interface for Props type.

Enums

E MigrationType Migration type

redb.Core.Pro.Models

Classes

C RedbMigrationRow POCO for _migrations table.
C SchemeMetadataCacheRow POCO for _scheme_metadata_cache table.

redb.Core.Pro.Providers

Classes

C ProObjectStorageProviderBase Tree-based ChangeTracking logic (partial class).
C ProTreeProviderBase Pro base class for TreeProvider with PVT instead of get_object_json.

redb.Core.Pro.Query

Classes

C ArrayElementAggregates Aggregates over the elements of an array in a grouping over the objects of a tree:
C ArrayGroupSqlBuilder The SQL of a grouping over the elements of an array, for every Pro provider. One shape:
C EntryValueSql The value of a field read through a dictionary entry or an element of an array of classes (Scores[a]...
C GroupedWindowFunctionSql The window function of a window over groups, for every Pro builder (GroupBy and GroupByArray, flat a...
C HavingSqlTranslator Dialect-agnostic translator for HAVING JSON predicates produced by
C IdSubqueryExpression "The object id is one of those this statement selects": the condition a Pro statement that aggregate...
C LikeOperandSql BR-7 (2026-09-02): the operand of the StartsWith/EndsWith/Contains sugar (+IgnoreCase) is a
C ProFilterExpressionParser Pro version of FilterExpressionParser - supports arithmetic, functions and complex expressions.
C ProFilterJson The Pro provider compiles the query condition from FilterExpression; it has no translator for the fa...
C ProSqlBuilderBase Base SQL builder for Pro version with database-agnostic methods.
C PvtPrefilterBranch Predicates on ONE structure and ONE column. Multiple predicates are ANDed, which is the only way
C PvtPrefilterCandidate Branches ORed together. Score of the group is the score of its weakest branch.
C PvtPrefilterPlan Final plan handed to the SQL renderer.
C PvtPrefilterPlanner Builds a cutting step that narrows the object set BEFORE the PVT aggregate runs.
C PvtPrefilterPredicate One predicate applied to a single _values column.
C SqlParameterCollector Parameter collector for safe SQL query generation.
C SqlStatementText Reading the text of a statement the Pro builders produced, for the few places that rewrite it (a cou...
C WindowFrameClause The ROWS|RANGE BETWEEN ... AND ... clause of a window, compiled from the JSON the core writes

Interfaces

I ISqlDialectPro Pro extension of ISqlDialect with additional SQL methods for Pro features.

Enums

E PvtPrefilterKind Shape of the prefilter to emit.
E PvtPrefilterReason Why the planner decided what it decided. Emitted as SQL comments by ToSqlStringAsync, which is

redb.Core.Pro.Query.ArrayGroupSqlBuilder

Classes

C ArrayGroupSqlBuilder.IdSource The objects that take part: SQL whose single column _id lists them (each at most once), and an optio...
C ArrayGroupSqlBuilder.Result The grouping SELECT (with the window over it, when asked), the prefix and the suffix (a query hint) ...

redb.Core.Pro.Schema

Classes

C SchemeFieldResolver Resolver for fields: path to field → structure_id + db_type.