|
|
static constexpr const char * | Name = "octet_length" |
|
static constexpr const char * | Parameters = "blob::BLOB\001bitstring::BIT" |
|
static constexpr const char * | Description = "Number of bytes in `blob`.\001Returns the number of bytes in the `bitstring`." |
|
static constexpr const char * | Example = "octet_length('\\xAA\\xBB'::BLOB)\001octet_length('1101011'::BITSTRING)" |
|
static constexpr const char * | Categories = "blob\001bitstring" |
◆ GetFunctions()
232912 {
232913
232914 ScalarFunctionSet octet_length("octet_length");
232915 octet_length.AddFunction(ScalarFunction({LogicalType::BLOB}, LogicalType::BIGINT,
232916 ScalarFunction::UnaryFunction<string_t, int64_t, StrLenOperator>));
232917 octet_length.AddFunction(ScalarFunction({LogicalType::BIT}, LogicalType::BIGINT,
232918 ScalarFunction::UnaryFunction<string_t, int64_t, OctetLenOperator>));
232919 return (octet_length);
232920}
The documentation for this struct was generated from the following file: