Version: v0.8.1 - Beta.  We welcome contributors & feedback.

Url.clearQuery

clearQuery() -> self

Description

Remove all fields from the query.

$url = url'/page'.setQuery({ a: 11, b: 22 })

$url.renderString()
//= '/page?a=11&b=22'

$url.clearQuery()

$url.renderString()
//= '/page'

See Also