Register all custom PostgreSQL-compatible functions
(conn: &Connection)
| 18 | |
| 19 | /// Register all custom PostgreSQL-compatible functions |
| 20 | pub fn register_all_functions(conn: &Connection) -> Result<()> { |
| 21 | uuid_functions::register_uuid_functions(conn)?; |
| 22 | json_functions::register_json_functions(conn)?; |
| 23 | decimal_functions::register_decimal_functions(conn)?; |
| 24 | datetime_functions::register_datetime_functions(conn)?; |
| 25 | regex_functions::register_regex_functions(conn)?; |
| 26 | catalog_functions::register_catalog_functions(conn)?; |
| 27 | hash_functions::register_hash_functions(conn)?; |
| 28 | array_functions::register_array_functions(conn)?; |
| 29 | unnest_vtab::register_unnest_vtab(conn)?; |
| 30 | string_functions::register_string_functions(conn)?; |
| 31 | math_functions::register_math_functions(conn)?; |
| 32 | system_functions::register_system_functions(conn)?; |
| 33 | fts_functions::register_fts_functions(conn)?; |
| 34 | Ok(()) |
| 35 | } |