Skip to content

Compile Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

IPredicateNode Compile(IReadOnlyList<OrderBy> queryOrder, KeysetCursor cursor) ​

csharp
IPredicateNode Compile(IReadOnlyList<OrderBy> queryOrder, KeysetCursor cursor)

Builds the lexicographic seek predicate for the given query ORDER BY and cursor values.

Parameters ​

NameDescription
cursorBoundary values aligned by index with queryOrder columns.
queryOrderORDER BY used by the SQL query (already inverted when seeking previous).

Returns ​

OR of prefix-equal AND tip-compare branches (null-safe under NULLS LAST).