timestampExtract method

FunctionExpression timestampExtract(
  1. Object part, [
  2. Object? timezone
])

The part (for example 'year' or 'dayofweek') of this timestamp, optionally in timezone.

Implementation

FunctionExpression timestampExtract(Object part, [Object? timezone]) =>
    _function('timestamp_extract', <Object?>[part, ?timezone]);