warning | title | excerpt | extension | repo | docs | extension_star_count | extension_star_count_pretty | extension_download_count | extension_download_count_pretty | image | layout | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github/duckdb/community-extensions repository, check README there |
netquack |
DuckDB Community Extensions
DuckDB extension for parsing, extracting, and analyzing domains, URIs, and paths with ease.
|
|
|
|
11 |
11 |
507 |
507 |
/images/community_extensions/social_preview/preview_community_extension_netquack.png |
community_extension_doc |
INSTALL {{ page.extension.name }} FROM community;
LOAD {{ page.extension.name }};
{% if page.docs.hello_world %}
{{ page.docs.hello_world }}```
{% endif %}
{% if page.docs.extended_description %}
### About {{ page.extension.name }}
{{ page.docs.extended_description }}
{% endif %}
### Added Functions
<div class="extension_functions_table"></div>
| function_name | function_type | description | comment | examples |
|--------------------------|---------------|--------------------------------------------|---------|---------------------------------------------------------------------|
| extract_domain | scalar | Extracting the main domain from a URL | NULL | [SELECT extract_domain('a.example.com') as domain;] |
| extract_host | scalar | Extracting the hostname from a URL | NULL | [SELECT extract_host('https://b.a.example.com/path/path') as host;] |
| extract_path | scalar | Extracting the path from a URL | NULL | [SELECT extract_path('example.com/path/path/image.png') as path;] |
| extract_query_string | scalar | Extracting the query string from a URL | NULL | [SELECT extract_query_string('example.com?key=value') as query;] |
| extract_schema | scalar | Extracting the schema from a URL | NULL | [SELECT extract_schema('mailto:[email protected]') as schema;] |
| extract_subdomain | scalar | Extracting the subdomain from a URL | NULL | [SELECT extract_subdomain('test.example.com.ac') as dns_record;] |
| extract_tld | scalar | Extracting the top-level domain from a URL | NULL | [SELECT extract_tld('a.example.com') as tld;] |
| get_tranco_rank | scalar | Getting the Tranco rank of a domain | NULL | [SELECT get_tranco_rank('cloudflare.com') as rank;] |
| update_suffixes | scalar | Update public suffixes | NULL | [SELECT update_suffixes();] |
| update_tranco | scalar | Update tranco data | NULL | [SELECT update_tranco(true);] |
| ipcalc | table | NULL | NULL | [NULL] |
| get_tranco_rank_category | scalar | NULL | NULL | [NULL] |
| netquack_version | table | NULL | NULL | [NULL] |