|
|
static constexpr const char * | Name = "sha1" |
|
static constexpr const char * | Parameters = "value::VARCHAR\001blob::BLOB" |
|
static constexpr const char * | Description = "Returns a `VARCHAR` with the SHA-1 hash of the `value`.\001Returns a `VARCHAR` with the SHA-1 hash of the `blob`." |
|
static constexpr const char * | Example = "sha1('🦆')\001sha1('\\xAA\\xBB'::BLOB)" |
|
static constexpr const char * | Categories = "string\001blob" |
◆ GetFunctions()
234949 {
234950 ScalarFunctionSet set("sha1");
234951 set.AddFunction(ScalarFunction({LogicalType::VARCHAR}, LogicalType::VARCHAR, SHA1Function));
234952 set.AddFunction(ScalarFunction({LogicalType::BLOB}, LogicalType::VARCHAR, SHA1Function));
234953 return set;
234954}
The documentation for this struct was generated from the following file: