Skip to content

PgAggregateSortKey

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Owns one PostgreSQL aggregate ordering key, including its operator, collation and NULL placement.

public sealed class PgAggregateSortKey

Inheritance: object

Gets the zero-based aggregated input position. An executor-only expression can exceed the public input count.

public int ArgumentIndex { get; }

Value: int

Gets the ordering expression’s collation OID, or zero for a noncollatable value.

public uint CollationOid { get; }

Value: uint

Gets whether SQL NULL sorts before nonnull values for this key.

public bool NullsFirst { get; }

Value: bool

Gets the ordering operator OID, preserving ascending, descending and custom operator semantics.

public uint OperatorOid { get; }

Value: uint

Gets the ordering expression’s PostgreSQL type OID.

public uint TypeOid { get; }

Value: uint