API Reference
Обзор документации REDB API. Выберите пространство имён или тип в дереве слева, или кликните по элементам ниже.
Результаты поиска: Function
Очистить
AggregateFunction
redb.Core.Query.Aggregation
AggregateRequest
redb.Core.Query.Aggregation
Function
Aggregation function
AggregationInfo
redb.Core.Query.Projection
ArrayGroupWindow
redb.Core.Query.Grouping
Functions
Window functions with their aliases. Never empty.
BaseFilterExpressionParser
redb.Core.Query.Parsing
CreateMultiArgFunctionCallExpression(MethodCallExpression)
Builds a for the multi-arg string
CustomFunctionExpression
redb.Core.Query.QueryExpressions
CustomFunctionExpression(string, IReadOnlyList<ValueExpression>)
Custom SQL function (Pro Only)
DbErrorClassifier
redb.Core.Data
IsUndefinedFunction(Exception)
The function or procedure named in the statement does not exist: PostgreSQL 42883, SQL Server
E161_SqlFunctionCoalesce
redb.Examples.Examples
E161_SqlFunctionCoalesce_ef
redb.Examples.ExamplesEf
E162_SqlFunctionPower
redb.Examples.Examples
E162_SqlFunctionPower_ef
redb.Examples.ExamplesEf
E163_SqlFunctionNested
redb.Examples.Examples
E163_SqlFunctionNested_ef
redb.Examples.ExamplesEf
FunctionCallExpression
redb.Core.Query.QueryExpressions
FunctionCallExpression(PropertyFunction, ValueExpression)
Function call on value (Pro Only)
GroupedWindowFunctionSql
redb.Core.Pro.Query
IRedbQueryProvider
redb.Core.Query
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?, CancellationToken)
Execute single-field aggregation with FilterExpression (Pro version).
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?)
Execute single-field aggregation with FilterExpression (Pro version).
ExecuteAggregateAsync(long, string, AggregateFunction, string?, CancellationToken)
Execute aggregation on EAV field (SQL strategy for simple fields).
ExecuteAggregateAsync(long, string, AggregateFunction, string?)
Execute aggregation on EAV field (SQL strategy for simple fields).
ISqlDialect
redb.Core.Query
Query_BuildPvtProjectionSqlFunction()
Bare SQL function name returning the projection SELECT string.
Query_BuildPvtSqlFunction()
Bare SQL function name returning the inner _id-list SQL string.
Query_PvtModuleCompatFunction()
Bare SQL function name returning what a deployed module still serves: '<oldest package module versio...
Query_PvtModuleVersionFunction()
Bare SQL function name returning the deployed v2-pvt module
Query_SearchObjectsBaseFunction()
Name of the search function for objects base fields only (lazy loading).
Query_SearchObjectsFunction()
Name of the search function for objects with facets (eager loading).
Query_SearchObjectsProjectionByIdsFunction()
Name of the search function with projection by IDs.
Query_SearchObjectsProjectionByPathsFunction()
Name of the search function with projection by paths.
Query_SearchTreeObjectsBaseFunction()
Name of the tree search function base fields only (lazy loading).
Query_SearchTreeObjectsFunction()
Name of the tree search function (eager loading).
Query_SqlPreviewBaseFunction()
SQL preview function name for base (lazy loading) search.
Query_SqlPreviewFunction()
SQL preview function name for regular search.
Query_TreeSqlPreviewBaseFunction()
SQL preview function name for tree base (lazy loading) search.
Query_TreeSqlPreviewFunction()
SQL preview function name for tree search.
MsSqlDialect
redb.MSSql.Sql
Query_BuildPvtProjectionSqlFunction()
Bare SQL function name returning the projection SELECT string.
Query_BuildPvtSqlFunction()
Bare SQL function name returning the inner _id-list SQL string.
Query_PvtModuleCompatFunction()
Bare SQL function name returning what a deployed module still serves: '<oldest package module versio...
Query_PvtModuleVersionFunction()
Bare SQL function name returning the deployed v2-pvt module
Query_SearchObjectsBaseFunction()
Name of the search function for objects base fields only (lazy loading).
Query_SearchObjectsFunction()
Name of the search function for objects with facets (eager loading).
Query_SearchObjectsProjectionByIdsFunction()
Name of the search function with projection by IDs.
Query_SearchObjectsProjectionByPathsFunction()
Name of the search function with projection by paths.
Query_SearchTreeObjectsBaseFunction()
Name of the tree search function base fields only (lazy loading).
Query_SearchTreeObjectsFunction()
Name of the tree search function (eager loading).
Query_SqlPreviewBaseFunction()
SQL preview function name for base (lazy loading) search.
Query_SqlPreviewFunction()
SQL preview function name for regular search.
Query_TreeSqlPreviewBaseFunction()
SQL preview function name for tree base (lazy loading) search.
Query_TreeSqlPreviewFunction()
SQL preview function name for tree search.
MssqlQueryProvider
redb.MSSql.Query
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?, CancellationToken)
Single-aggregate path. Delegates to ExecuteAggregateBatchAsync(long, IEnumerable<AggregateRequest>, ...
ExecuteAggregateAsync(long, string, AggregateFunction, string?, CancellationToken)
Single-aggregate path for facet-JSON callers (legacy
MultiArgFunctionCallExpression
redb.Core.Query.QueryExpressions
MultiArgFunctionCallExpression(PropertyFunction, IReadOnlyList<ValueExpression>)
Multi-argument function call (Pro Only).
PostgreSqlDialect
redb.Postgres.Sql
Query_BuildPvtProjectionSqlFunction()
Bare SQL function name returning the projection SELECT string.
Query_BuildPvtSqlFunction()
Bare SQL function name returning the inner _id-list SQL string.
Query_PvtModuleCompatFunction()
Bare SQL function name returning what a deployed module still serves: '<oldest package module versio...
Query_PvtModuleVersionFunction()
Bare SQL function name returning the deployed v2-pvt module
Query_SearchObjectsBaseFunction()
Name of the search function for objects base fields only (lazy loading).
Query_SearchObjectsFunction()
Name of the search function for objects with facets (eager loading).
Query_SearchObjectsProjectionByIdsFunction()
Name of the search function with projection by IDs.
Query_SearchObjectsProjectionByPathsFunction()
Name of the search function with projection by paths.
Query_SearchTreeObjectsBaseFunction()
Name of the tree search function base fields only (lazy loading).
Query_SearchTreeObjectsFunction()
Name of the tree search function (eager loading).
Query_SqlPreviewBaseFunction()
SQL preview function name for base (lazy loading) search.
Query_SqlPreviewFunction()
SQL preview function name for regular search.
Query_TreeSqlPreviewBaseFunction()
SQL preview function name for tree base (lazy loading) search.
Query_TreeSqlPreviewFunction()
SQL preview function name for tree search.
PostgresQueryProvider
redb.Postgres.Query
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?, CancellationToken)
Single-aggregate path. Delegates to ExecuteAggregateBatchAsync(long, IEnumerable<AggregateRequest>, ...
ProFeatureCategory
redb.Core.Exceptions
SqlFunction
Custom SQL functions via Sql.Function().
WindowFunction
Window functions with GroupBy.
PropertyFunction
redb.Core.Query.QueryExpressions
PropertyInfo
redb.Core.Query.QueryExpressions
Function
Optional: function applied to property (Length, Count)
FunctionSourceType
Optional: the underlying source type the function is applied to
PropertyInfo(string, Type, bool, PropertyFunction?, Type?)
Field information in expression
PropertyInfo(string, Type, bool, PropertyFunction?)
Field information in expression
ProQueryProvider
redb.MSSql.Pro.Query
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?, CancellationToken)
Pro: Single field aggregation with FilterExpression (preferred).
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?)
⚡ Pro: Single field aggregation with FilterExpression (preferred).
ExecuteAggregateAsync(long, string, AggregateFunction, string?, CancellationToken)
Pro: Single field aggregation with filterJson (legacy).
ExecuteAggregateAsync(long, string, AggregateFunction, string?)
⚡ Pro: Single field aggregation with filterJson (legacy).
GetSingleAggregateSqlPreviewAsync(long, string, AggregateFunction, FilterExpression?, CancellationToken)
Pro: SQL Preview for Single Aggregation
GetSingleAggregateSqlPreviewAsync(long, string, AggregateFunction, FilterExpression?)
Pro: SQL Preview for Single Aggregation
ProQueryProvider
redb.Postgres.Pro.Query
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?, CancellationToken)
Pro: Single field aggregation with FilterExpression (preferred).
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?)
⚡ Pro: Single field aggregation with FilterExpression (preferred).
ExecuteAggregateAsync(long, string, AggregateFunction, string?, CancellationToken)
Pro: Single field aggregation with filterJson (legacy).
ExecuteAggregateAsync(long, string, AggregateFunction, string?)
⚡ Pro: Single field aggregation with filterJson (legacy).
GetSingleAggregateSqlPreviewAsync(long, string, AggregateFunction, FilterExpression?, CancellationToken)
Pro: SQL Preview for Single Aggregation
GetSingleAggregateSqlPreviewAsync(long, string, AggregateFunction, FilterExpression?)
Pro: SQL Preview for Single Aggregation
ProSqlBuilder
redb.MSSql.Pro.Query
ApplyFunction(PropertyFunction, string)
Pro: Apply SQL function to column (T-SQL syntax).
ApplyPropertyFunction(string, PropertyFunction?)
Applies property function to column.
AverageOperand(AggregateFunction, string, FieldInfo?)
The expression AVG is taken over. For a field stored in an integer or numeric column it is
BaseAverageOperand(AggregateFunction, string, string)
The same for a column of the object row (): the ids, the key and
BuildAggregateSelectColumn(AggregateFunction, string, string, IReadOnlyDictionary<string, FieldInfo>, SqlParameterCollector, int?)
Generates full aggregation column (for SELECT).
ProSqlBuilder
redb.Postgres.Pro.Query
ApplyFunction(PropertyFunction, string)
Pro: Apply SQL function to column
BuildAggregateSelectColumn(AggregateFunction, string, string, IReadOnlyDictionary<string, FieldInfo>, SqlParameterCollector, int?)
Generates full aggregation column (for SELECT)
MapAggregateFunction(AggregateFunction)
Mapping AggregateFunction → SQL function
ProSqlBuilderBase
redb.Core.Pro.Query
MapAggregateFunction(AggregateFunction)
Maps aggregate function to SQL function name.
ProTreeQueryProvider
redb.MSSql.Pro.Query
ExecuteAggregateAsync(long, string, AggregateFunction, string?, CancellationToken)
Execute aggregation on EAV field (SQL strategy for simple fields).
ExecuteAggregateAsync(long, string, AggregateFunction, string?)
Execute aggregation on EAV field (SQL strategy for simple fields).
ProTreeQueryProvider
redb.Postgres.Pro.Query
ExecuteAggregateAsync(long, string, AggregateFunction, string?, CancellationToken)
Execute aggregation on EAV field (SQL strategy for simple fields).
ExecuteAggregateAsync(long, string, AggregateFunction, string?)
Execute aggregation on EAV field (SQL strategy for simple fields).
QueryProviderBase
redb.Core.Query.Base
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?, CancellationToken)
Execute single-field aggregation with FilterExpression (Pro version).
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?)
Execute single-field aggregation with FilterExpression (Pro version).
ExecuteAggregateAsync(long, string, AggregateFunction, string?, CancellationToken)
Perform aggregation on EAV field (SQL strategy)
ExecuteAggregateAsync(long, string, AggregateFunction, string?)
Perform aggregation on EAV field (SQL strategy)
RedbQueryable<TProps>
redb.Core.Query
ExecuteAggregateCoreAsync(string, AggregateFunction, CancellationToken)
One aggregate over a Props field of the objects this query selects.
Sql
redb.Core.Query
Function<TResult>(string, params object?[])
Call custom SQL function.
TreeQueryableBase<TProps>
redb.Core.Query.Base
ExecuteAggregateCoreAsync(string, AggregateFunction, CancellationToken)
One aggregate over a Props field of the objects this query selects.
TreeQueryProviderBase
redb.Core.Query.Base
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?, CancellationToken)
Execute single-field aggregation with FilterExpression (Pro version).
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?)
Execute single-field aggregation with FilterExpression (Pro version).
ExecuteAggregateAsync(long, string, AggregateFunction, string?, CancellationToken)
Execute aggregation on EAV field (SQL strategy for simple fields).
ExecuteAggregateAsync(long, string, AggregateFunction, string?)
Execute aggregation on EAV field (SQL strategy for simple fields).
WindowFunctionName
redb.Core.Query.Window