Database & utility
Scalar
can_cast_implicitly()
Whether or not we can implicitly cast from the source type to the other type
Arguments & returns
can_cast_implicitly(source_type, target_type)
Scalar
| Overload link | source_type | target_type |
Returns |
|---|---|---|---|
| #01 | ANY | ANY |
BOOLEAN |
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.
Catalog examples
SELECT
can_implicitly_cast (NULL::INTEGER, NULL::BIGINT);