Fork me on GitHub

domain

Returns the domain name/host that is used in the given url

The domain transform is run on URLs, and returns the domain.

For example:

[
  "https://golang.org/pkg/net/url/#URL.EscapedPath",
  "https://connectordb.io",
  "https://github.com/connectordb/connectordb"
]

gives:

[
  "golang.org",
  "connectordb.io",
  "github.com"
]

Transform Details

One-To-OneStatelessPeekInput SchemaOutput Schema
TrueTrueFalse{"type": "string"}

This Site

Contribute

ConnectorDB is a very new open-source project. If you are a designer/developer or ML enthusiast, head on over to the connectordb github, where you can choose which part of ConnectorDB you want to contribute towards! Pull requests or bug reports are welcome!