Table of Contents

Class SqlExtractDayFunctionExpressionNode

Namespace
LfrlAnvil.Sql.Expressions.Functions
Assembly
LfrlAnvil.Sql.Core.dll

Represents an SQL syntax tree expression node that defines an invocation of a function that extracts a day component from its parameter.

public sealed class SqlExtractDayFunctionExpressionNode : SqlFunctionExpressionNode
Inheritance
SqlExtractDayFunctionExpressionNode
Inherited Members
Extension Methods

Properties

Unit

SqlTemporalUnit that specifies the day component to extract. Can be one of the three following values:

  • Year for a day of year,
  • Month for a day of month,
  • Week for a day of week.
public SqlTemporalUnit Unit { get; }

Property Value

SqlTemporalUnit