|
| template<class SRC, class DST> |
| static bool | Operation (SRC input, DST &result, bool strict=false) |
◆ Operation() [1/3]
template<class SRC, class DST>
| bool duckdb::TryCastToTimestampNS::Operation |
( |
SRC | input, |
|
|
DST & | result, |
|
|
bool | strict = false ) |
|
inlinestatic |
31884 {
31885 throw InternalException("Unsupported type for try cast to timestamp (ns)");
31886 }
◆ Operation() [2/3]
89958 {
89959 return TryCast::Operation<string_t, timestamp_ns_t>(input, result, strict);
89960}
◆ Operation() [3/3]
89981 {
89982 if (!TryCast::Operation<date_t, timestamp_t>(input, result, strict)) {
89983 return false;
89984 }
89986 return true;
89987 }
89988 if (!TryMultiplyOperator::Operation(result.value, Interval::NANOS_PER_MICRO, result.value)) {
89989 return false;
89990 }
89991 return true;
89992}
static bool IsFinite(timestamp_t timestamp)
True, if the timestamp is finite, else false.
Definition duckdb.hpp:4287
The documentation for this struct was generated from the following file: