- Categories:
File functions (AI Functions)
FL_ GET_ CONTENT_ TYPE¶
Returns the content type (also known as the MIME type) of a FILE.
Syntax¶
Use one of the following:
Arguments¶
file_expressionThe argument must be an expression of type FILE.
variant_expressionThe argument must be an OBJECT representing a FILE.
Returns¶
Aa VARCHAR value with the MIME type of the file, for example 'image/png' for a PNG image file.
Examples¶
Example using an input FILE:
Example using an input OBJECT: