Stream: cql
Topic: No syntax examples for contains operator with precision
Zach Smith (Dec 16 2019 at 19:22):
The docs for the Interval contains operator mention that an optional precision argument can be specified when working with Date, DateTime, and TIme types. However, there are no syntax examples of this in the docs. Should it look like:
define ContainsPrecision: Interval[@2019-01-02, @2019-02-14] contains week of @2019-02-03
Zach Smith (Dec 16 2019 at 19:50):
Looking at the reference grammar, it does appear that this is the correct syntax
Last updated: Apr 12 2022 at 19:14 UTC