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.

Search results for: Count Clear search
C Agg redb.Core.Query.Aggregation
M Count() Count of records (COUNT(*))
M Count<T>(IEnumerable<T>) Count of elements in a collection
M Count<TKey, TProps>(IRedbGrouping<TKey, TProps>) Count in a group: Agg.Count(g)
E AggregateFunction redb.Core.Query.Aggregation
T Count Record count
E ArrayLeafOperator redb.Core.Query.Filtering
T CountEqual array.Count == N
T CountGreater array.Count > N
T CountGreaterOrEqual array.Count >= N
T CountLess array.Count < N
T CountLessOrEqual array.Count <= N
C CompleteSchemeMetadata redb.Core.Caching
P UsageCount Usage count.
C DeletionMark redb.Core.Services
P MarkedCount Number of objects marked for deletion (including descendants)
C Department redb.Examples.Models
C E070_CountAsync redb.Examples.Examples
C E091_TreeCount redb.Examples.Examples
C ExampleResult redb.Examples.Output
P Count Number of objects processed/found.
C FieldStatistics<T> redb.Core.Query.Aggregation
P Count Record count
I IPermissionProvider redb.Core.Providers
M GetPermissionCountAsync() Get total permission count.
M GetRolePermissionCountAsync(IRedbRole) Get role permission count.
M GetUserPermissionCountAsync(IRedbUser) Get user permission count.
I IRedbGroupedQueryable<TKey, TProps> redb.Core.Query.Grouping
M CountAsync() Returns group count.
M CountAsync() Count results.
I IRedbQueryable<TProps> redb.Core.Query
M CountAsync() Count records without loading data.
I IRoleProvider redb.Core.Providers
M GetRoleCountAsync() Get role count.
M GetRoleUserCountAsync(IRedbRole) Get user count in role.
I ISqlDialect redb.Core.Query
M Permissions_Count() SELECT COUNT of all permissions
M Permissions_CountByRole() SELECT COUNT of permissions by role. Params: $1=roleId
M Permissions_CountByUser() SELECT COUNT of permissions by user. Params: $1=userId
M Query_CountTemplate() SQL template for COUNT query. Params: functionName
M Query_TreeCountNormalSql(string) SQL for tree count query (normal search).
M Query_TreeCountWithParentIdsSql(string) SQL for tree COUNT with parent_ids array.
M Roles_Count() SELECT COUNT of all roles
M Users_Count() SELECT COUNT of all users
M Users_CountEnabled() SELECT COUNT of enabled users
M UsersRoles_CountByRole() SELECT COUNT of users for role. Params: $1=roleId
I IUserProvider redb.Core.Providers
M GetUserCountAsync(bool) Get user count.
C LicenseInfo redb.Core.Pro.Licensing
P Country Optional country code (e.g., "RU", "US")
C MsSqlDialect redb.MSSql.Sql
M Permissions_Count() SELECT COUNT of all permissions
M Permissions_CountByRole() SELECT COUNT of permissions by role. Params: $1=roleId
M Permissions_CountByUser() SELECT COUNT of permissions by user. Params: $1=userId
M Query_CountTemplate() MSSQL uses EXEC and OPENJSON for JSON parameters.
M Query_TreeCountNormalSql(string) For Tree procedures, we use temp table to capture EXEC result and extract total_count.
M Query_TreeCountWithParentIdsSql(string) MSSQL: capture EXEC result and extract total_count.
M Roles_Count() SELECT COUNT of all roles
M Users_Count() SELECT COUNT of all users
M Users_CountEnabled() SELECT COUNT of enabled users
M UsersRoles_CountByRole() SELECT COUNT of users for role. Params: $1=roleId
C PermissionProviderBase redb.Core.Providers.Base
M GetPermissionCountAsync() Get total permission count.
M GetRolePermissionCountAsync(IRedbRole) Get role permission count.
M GetUserPermissionCountAsync(IRedbUser) Get user permission count.
M GetUserPermissionCountAsync(long) Get permission count for user.
C PlatformResult redb.Examples.Models
P Count Number of objects processed/found.
C PostgreSqlDialect redb.Postgres.Sql
M Permissions_Count() SELECT COUNT of all permissions
M Permissions_CountByRole() SELECT COUNT of permissions by role. Params: $1=roleId
M Permissions_CountByUser() SELECT COUNT of permissions by user. Params: $1=userId
M Query_CountTemplate() SQL template for COUNT query. Params: functionName
M Query_TreeCountNormalSql(string) SQL for tree count query (normal search).
M Query_TreeCountWithParentIdsSql(string) PostgreSQL: extract total_count from tree function result.
M Roles_Count() SELECT COUNT of all roles
M Users_Count() SELECT COUNT of all users
M Users_CountEnabled() SELECT COUNT of enabled users
M UsersRoles_CountByRole() SELECT COUNT of users for role. Params: $1=roleId
E PropertyFunction redb.Core.Query.QueryExpressions
T Count Collection element count (array.Count)
C PropsCacheStatistics redb.Core.Caching
P HitCount Cache hit count.
P MissCount Cache miss count.
C ProQueryProvider redb.MSSql.Pro.Query
M ExecuteCountAsync<TProps>(QueryContext<TProps>) Pro Override: COUNT via CTE + JOIN (uses BuildQuerySqlAsync).
C ProQueryProvider redb.Postgres.Pro.Query
M ExecuteCountAsync<TProps>(QueryContext<TProps>) Pro Override: COUNT via CTE + JOIN (uses BuildQuerySqlAsync).
C ProTreeQueryProvider redb.MSSql.Pro.Query
M ExecuteTreeCountAsync<TProps>(TreeQueryContext<TProps>) ⚡ Pro Override: Tree Count via CTE + pvt.
C ProTreeQueryProvider redb.Postgres.Pro.Query
M ExecuteTreeCountAsync<TProps>(TreeQueryContext<TProps>) ⚡ Pro Override: Tree Count via CTE + PVT.
C QueryProviderBase redb.Core.Query.Base
M ExecuteCountAsync<TProps>(QueryContext<TProps>) Executes COUNT query. Override in Pro for PVT-based count with computed expressions.
M CountAsync() Returns group count.
C RedbGroupedQueryable<TKey, TProps> redb.Core.Query.Grouping
M CountAsync() Returns group count.
C RedbObjectExtensions redb.Core.Extensions
M CountAsync() Count results.
C RedbQueryable<TProps> redb.Core.Query
M BuildCountExpression() Builds expression for record count
M CountAsync() Count records without loading data.
C RedbServiceBase redb.Core
M GetPermissionCountAsync() Get total permission count.
M GetRolePermissionCountAsync(IRedbRole) Get role permission count.
M GetUserPermissionCountAsync(IRedbUser) Get user permission count.
C RoleProviderBase redb.Core.Providers.Base
M GetRoleCountAsync() Get role count.
M GetRoleUserCountAsync(IRedbRole) Get user count in role.
C SchemeCacheStatistics redb.Core.Caching
P CachedSchemesCount Cached schemes count.
P TypeMappingsCount Type mappings count.
C SqlParameterCollector redb.Core.Pro.Query
P Count Number of added parameters.
C SqlParameterCollectorBase redb.Core.Query.Parameters
P Count Number of parameters added.
C TopUsedScheme redb.Core.Caching
P UsageCount Usage count.
C TreeCollection redb.Core.Models.Collections
P Count Gets count of nodes in collection
C TreeCollection<TProps> redb.Core.Models.Collections
P Count Gets count of nodes in collection
C TreeGroupedQueryable<TKey, TProps> redb.Core.Query.Grouping
M CountAsync() Returns group count.
M CountAsync() Count results.
C TreeQueryableBase<TProps> redb.Core.Query.Base
M CountAsync() Count records without loading data.
C TreeQueryProviderBase redb.Core.Query.Base
M ExecuteTreeCountAsync<TProps>(TreeQueryContext<TProps>) Execute COUNT for tree query through search_tree_objects_with_facets
C TypeMigrationResult redb.Core.Providers
C TypeUsageInfo redb.Core.Caching
C UserCacheStats redb.Core.Caching
P ObjectCount Number of user objects in cache.
C UserProviderBase redb.Core.Providers.Base
M GetUserCountAsync(bool) Get user count.
C Win redb.Core.Query.Aggregation
M Count() COUNT(*) OVER (...)