Path: redb/redb.Postgres/Query/PostgresTreeQueryProvider.cs Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Postgres/Query/PostgresTreeQueryProvider.cs ---- using Microsoft.Extensions.Logging; using redb.Core.Data; using redb.Core.Models.Configuration; using redb.Core.Providers; using redb.Core.Query; using redb.Core.Query.Base; using redb.Core.Query.QueryExpressions; using redb.Core.Serialization; using redb.Postgres.Sql; namespace redb.Postgres.Query; /// /// PostgreSQL tree query provider implementation. /// Inherits from TreeQueryProviderBase and provides PostgreSQL-specific components. /// public partial class PostgresTreeQueryProvider : TreeQueryProviderBase { public PostgresTreeQueryProvider( IRedbContext context, IRedbObjectSerializer serializer, ILazyPropsLoader? lazyPropsLoader = null, RedbServiceConfiguration? configuration = null, ILogger? logger = null, ISqlDialect? dialect = null, string? cacheDomain = null, ISchemeSyncProvider? schemeSync = null) : base(context, serializer, dialect ?? new PostgreSqlDialect(), cacheDomain, lazyPropsLoader, configuration, logger, schemeSync) { } /// /// Creates query provider for delegation. /// protected override IRedbQueryProvider CreateQueryProvider() { return new PostgresQueryProvider(_context, _serializer, _lazyPropsLoader, _configuration, _logger, _schemeSync); } /// /// Creates tree queryable instance. /// protected override IRedbQueryable CreateTreeQueryable(TreeQueryContext context) { return new PostgresTreeQueryable(this, context, _filterParser, _orderingParser); } }