MCPcopy Create free account
hub / github.com/cwida/ALP / TypeIsTimestamp

Method TypeIsTimestamp

publication/source_code/include/duckdb/types.hpp:313–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311 DUCKDB_API static LogicalType Deserialize(Deserializer& source);
312
313 DUCKDB_API static bool TypeIsTimestamp(LogicalTypeId id) {
314 return (id == LogicalTypeId::TIMESTAMP || id == LogicalTypeId::TIMESTAMP_MS ||
315 id == LogicalTypeId::TIMESTAMP_NS || id == LogicalTypeId::TIMESTAMP_SEC ||
316 id == LogicalTypeId::TIMESTAMP_TZ);
317 }
318 DUCKDB_API static bool TypeIsTimestamp(const LogicalType& type) { return TypeIsTimestamp(type.id()); }
319 DUCKDB_API string ToString() const;
320 DUCKDB_API bool IsIntegral() const;

Callers

nothing calls this directly

Calls 1

idMethod · 0.80

Tested by

no test coverage detected