• Preparing search index...
  • The search index is not available
Legend Studio API Documentation
  • Legend Studio API Documentation
  • @finos/legend-data-cube
  • getCurrentMomentValueType

Function getCurrentMomentValueType

  • getCurrentMomentValueType(
        columnType: string,
    ): undefined | DataCubeCurrentMomentValueType

    Returns the current-moment value type applicable to a column: today() (StrictDate) for date columns, now() (DateTime) for date-time columns. Returns undefined for columns which carry no date (e.g. a time-of-day column), since a current-moment date value is meaningless there.

    Parameters

    • columnType: string

    Returns undefined | DataCubeCurrentMomentValueType

    • Defined in packages/legend-data-cube/src/stores/core/DataCubeQueryEngine.ts:548

Settings

Member Visibility
Legend Studio API Documentation
  • Loading...