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: OrderBy
Clear search
E080_OrderBy
redb.Examples.Examples
E081_OrderByThenBy
redb.Examples.Examples
E083_OrderByDescending
redb.Examples.Examples
E148_WindowOrderByRedb
redb.Examples.Examples
E178_TreeOrderBy
redb.Examples.Examples
E179_TreeOrderByDescending
redb.Examples.Examples
E180_TreeDistinctByOrderBy
redb.Examples.Examples
FacetFilterBuilder
redb.Core.Query
BuildOrderBy(IReadOnlyList<OrderingExpression>)
Build JSON for order from OrderingExpression.
GroupedWindowSpec<TKey, TProps>
redb.Core.Query.Grouping
OrderBy<TField>(Expression<Func<IRedbGrouping<TKey, TProps>, TField>>)
Order rows within window ascending.
OrderByDesc<TField>(Expression<Func<IRedbGrouping<TKey, TProps>, TField>>)
Order rows within window descending.
IFacetFilterBuilder
redb.Core.Query.FacetFilters
BuildOrderBy(IReadOnlyList<OrderingExpression>)
Build JSON for order from OrderingExpression.
IGroupedWindowSpec<TKey, TProps>
redb.Core.Query.Grouping
OrderBy<TField>(Expression<Func<IRedbGrouping<TKey, TProps>, TField>>)
Order rows within window ascending.
OrderByDesc<TField>(Expression<Func<IRedbGrouping<TKey, TProps>, TField>>)
Order rows within window descending.
IRedbProjectedQueryable<TResult>
redb.Core.Query
OrderBy<TKey>(Expression<Func<TResult, TKey>>)
Sort projected results.
OrderByDescending<TKey>(Expression<Func<TResult, TKey>>)
Sort projected results descending.
IRedbQueryable<TProps>
redb.Core.Query
OrderBy<TKey>(Expression<Func<TProps, TKey>>)
Sort ascending by Props field.
OrderByDescending<TKey>(Expression<Func<TProps, TKey>>)
Sort descending by Props field.
OrderByDescendingRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort descending by IRedbObject base fields.
OrderByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort ascending by IRedbObject base fields (id, name, date_create, etc.).
IWindowSpec<TProps>
redb.Core.Query.Window
OrderBy<TKey>(Expression<Func<TProps, TKey>>)
Sort within window by Props field (ascending).
OrderByDesc<TKey>(Expression<Func<TProps, TKey>>)
Sort within window by Props field (descending).
OrderByDescRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort within window by IRedbObject base field (descending).
OrderByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort within window by IRedbObject base field (ascending).
ProSqlBuilder
redb.MSSql.Pro.Query
ProSqlBuilder
redb.Postgres.Pro.Query
BuildOrderByClause<TProps>(QueryContext<TProps>, IReadOnlyDictionary<string, FieldInfo>, string?, SqlParameterCollector?, IReadOnlySet<string>?, string)
Generates ORDER BY clause with DISTINCT ON support.
RedbProjectedQueryable<TProps, TResult>
redb.Core.Query
OrderBy<TKey>(Expression<Func<TResult, TKey>>)
Sort projected results.
OrderByDescending<TKey>(Expression<Func<TResult, TKey>>)
Sort projected results descending.
RedbProjectedQueryableTaskExtensions
redb.Core.Query
RedbQueryable<TProps>
redb.Core.Query
OrderBy<TKey>(Expression<Func<TProps, TKey>>)
Sort ascending by Props field.
OrderByDescending<TKey>(Expression<Func<TProps, TKey>>)
Sort descending by Props field.
OrderByDescendingRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort descending by IRedbObject base fields.
OrderByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort ascending by IRedbObject base fields (id, name, date_create, etc.).
TreeProjectedQueryable<TProps, TResult>
redb.Core.Query
OrderBy<TKey>(Expression<Func<TResult, TKey>>)
Sort projected results.
OrderByDescending<TKey>(Expression<Func<TResult, TKey>>)
Sort projected results descending.
TreeQueryableBase<TProps>
redb.Core.Query.Base
OrderBy<TKey>(Expression<Func<TProps, TKey>>)
✅ FIX ISSUE #4: Override OrderBy to preserve Tree context
OrderByDescending<TKey>(Expression<Func<TProps, TKey>>)
✅ FIX ISSUE #4: Override OrderByDescending for Tree context
OrderByDescendingRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort descending by IRedbObject base fields.
OrderByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort ascending by IRedbObject base fields (id, name, date_create, etc.).
WindowSpec<TProps>
redb.Core.Query.Window
OrderBy<TKey>(Expression<Func<TProps, TKey>>)
Sort within window by Props field (ascending).
OrderByDesc<TKey>(Expression<Func<TProps, TKey>>)
Sort within window by Props field (descending).
OrderByDescRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort within window by IRedbObject base field (descending).
OrderByRedb<TKey>(Expression<Func<IRedbObject, TKey>>)
Sort within window by IRedbObject base field (ascending).