import { getQuery } from "https://dotland.deno.dev/x/oak@v12.2.0/helpers.ts";
Given a context, return the .request.url.searchParams
as a Map
of keys
and values of the params.
Parameters
ctx: Context | RouterContext<string>
Given a context, return the .request.url.searchParams
as a record object
of keys and values of the params.
Parameters
ctx: Context | RouterContext<string>