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: Function
Clear search
AggregateFunction
redb.Core.Query.Aggregation
AggregateRequest
redb.Core.Query.Aggregation
Function
Aggregation function
AggregationInfo
redb.Core.Query.Projection
BaseFilterExpressionParser
redb.Core.Query.Parsing
CustomFunctionExpression
redb.Core.Query.QueryExpressions
CustomFunctionExpression(string, IReadOnlyList<ValueExpression>)
Custom SQL function (Pro Only)
E161_SqlFunctionCoalesce
redb.Examples.Examples
E162_SqlFunctionPower
redb.Examples.Examples
E163_SqlFunctionNested
redb.Examples.Examples
FunctionCallExpression
redb.Core.Query.QueryExpressions
FunctionCallExpression(PropertyFunction, ValueExpression)
Function call on value (Pro Only)
IRedbQueryProvider
redb.Core.Query
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?)
Execute single-field aggregation with FilterExpression (Pro version).
ExecuteAggregateAsync(long, string, AggregateFunction, string?)
Execute aggregation on EAV field (SQL strategy for simple fields).
ISqlDialect
redb.Core.Query
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_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.
PostgreSqlDialect
redb.Postgres.Sql
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.
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)
PropertyInfo(string, Type, bool, PropertyFunction?)
Field information in expression
ProQueryProvider
redb.MSSql.Pro.Query
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?)
⚡ Pro: Single field aggregation with FilterExpression (preferred).
ExecuteAggregateAsync(long, string, AggregateFunction, string?)
⚡ Pro: Single field aggregation with filterJson (legacy).
GetSingleAggregateSqlPreviewAsync(long, string, AggregateFunction, FilterExpression?)
Pro: SQL Preview for Single Aggregation
ProQueryProvider
redb.Postgres.Pro.Query
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?)
⚡ Pro: Single field aggregation with FilterExpression (preferred).
ExecuteAggregateAsync(long, string, AggregateFunction, string?)
⚡ Pro: Single field aggregation with filterJson (legacy).
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.
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?)
Execute aggregation on EAV field (SQL strategy for simple fields).
ProTreeQueryProvider
redb.Postgres.Pro.Query
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?)
Execute single-field aggregation with FilterExpression (Pro version).
ExecuteAggregateAsync(long, string, AggregateFunction, string?)
Perform aggregation on EAV field (SQL strategy)
Sql
redb.Core.Query
Function<TResult>(string, params object?[])
Call custom SQL function.
TreeQueryProviderBase
redb.Core.Query.Base
ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?)
Execute single-field aggregation with FilterExpression (Pro version).
ExecuteAggregateAsync(long, string, AggregateFunction, string?)
Execute aggregation on EAV field (SQL strategy for simple fields).