| Parameter | Type |
|---|---|
url | string, anyuri |
Returns: string
Example
query:
SELECT URL_EXTRACT_QUERY("http://google.com:80/search?foo=bar")
results:
| url_extract_query |
|---|
| foo=bar |
A function used to extract the query section from a validly formatted url according to RFC 2396 (https://tools.ietf.org/html/rfc2396.html), in format [protocol:][//host[:port]][path][?query][#fragment].
| Parameter | Type |
|---|---|
url | string, anyuri |
query:
SELECT URL_EXTRACT_QUERY("http://google.com:80/search?foo=bar")
results:
| url_extract_query |
|---|
| foo=bar |