View Source Bind.QueryString (bind v0.1.0)

Provides functionality to convert a query string from a URL into a map.

Summary

Functions

Converts a query string from a URL into a map, converting numerical values to number type.

Functions

Converts a query string from a URL into a map, converting numerical values to number type.

Parameters

  • query_string: The query string from a URL.

Examples

iex> Bind.QueryString.to_map("?name[eq]=Alice&age[gte]=30&sort=-age&limit=10")
%{"name[eq]" => "Alice", "age[gte]" => 30, "sort" => "-age", "limit" => 10}