url

A web address.

At a glance

Writing

Write the address as text: https://example.com/forms/intake. It is checked when it is written and stored in a normal form:

Besides http and https, links to stored files are accepted: s3, gs, wasb, wasbs, ftp, ftps and file. Their bucket or host is lowercased and their path is kept exactly. Any other scheme, mailto: and tel: included, is refused with a message that lists these.

Written as

A JSON string whose schema format is url.

Reading

You read back the stored, normalized address.

Querying

A value compared with = or in is normalized the same way first, so example.com/forms/intake finds https://example.com/forms/intake. A like or ilike pattern is used as written.

Document | source_url = "example.com/forms/intake" | select id, name

To find part of an address, such as every page on one site, use ilike. It matches the text exactly, where a word search may not, and checks every row in scope:

Document | source_url ilike "%example.com%" | select id, source_url | limit 20

Every operator is in the HQL reference.

Operations

Through the dtypes resource: