Path: redb/redb.Postgres/Query/PostgresTreeQueryable.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/PostgresTreeQueryable.cs
----
using redb.Core.Query;
using redb.Core.Query.Base;
using redb.Core.Query.FacetFilters;
using redb.Core.Query.QueryExpressions;
namespace redb.Postgres.Query;
///
/// PostgreSQL tree queryable implementation.
/// Inherits from TreeQueryableBase and provides PostgreSQL-specific components.
///
public class PostgresTreeQueryable : TreeQueryableBase
where TProps : class, new()
{
public PostgresTreeQueryable(
ITreeQueryProvider provider,
TreeQueryContext context,
IFilterExpressionParser filterParser,
IOrderingExpressionParser orderingParser)
: base(provider, context, filterParser, orderingParser, new FacetFilterBuilder())
{
}
///
/// Creates a new instance with the specified context.
///
protected override TreeQueryableBase CreateInstance(TreeQueryContext context)
{
return new PostgresTreeQueryable(_treeProvider, context, _filterParser, _orderingParser);
}
}