import { helpers } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/mod.ts?s=helpers.getQuery";
const { getQuery } = helpers;
Given a context, return the .request.url.searchParams
as a Map
of keys
and values of the params.
Parameters
ctx: Context | RouterContext<string>[src]
options: GetQueryOptionsAsMap[src]
Given a context, return the .request.url.searchParams
as a record object
of keys and values of the params.
Parameters
ctx: Context | RouterContext<string>[src]
optional
options: GetQueryOptionsBase[src]