From 3e0599851ab29b865312b488720b8b6f82de9cf1 Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Tue, 27 Aug 2013 14:50:20 -0700 Subject: [PATCH] docs --- docs/api.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/api.md b/docs/api.md index f19fca4..8656309 100644 --- a/docs/api.md +++ b/docs/api.md @@ -295,16 +295,12 @@ this.type = 'png'; ### ctx.query - Get parsed query-string using [qs](https://github.com/visionmedia/node-querystring). For example with the url "/shoes?page=2&sort=asc&filters[color]=blue" - `this.query` would be the following object: + Get parsed query-string, for example "color=blue&size=small": ```js { - page: '2', - sort: 'asc', - filters: { - color: 'blue' - } + color: 'blue', + size: 'small' } ```