Table of Contents

Enum NullSortOrder

Namespace
Npgsql.EntityFrameworkCore.PostgreSQL.Metadata
Assembly
Npgsql.EntityFrameworkCore.PostgreSQL.dll

Options for modifying sort ordering of NULL-values in indexes.

public enum NullSortOrder

Fields

NullsFirst = 1

Specifies that nulls sort before non-nulls.

This is the default when Descending is specified.

NullsLast = 2

Specifies that nulls sort after non-nulls.

This is the default when Descending is not specified.

Unspecified = 0

Represents an unspecified sort order. The database default will be used.