From d041ee7359713257924a2d9ea78413db6e3f678c Mon Sep 17 00:00:00 2001 From: Shahid Shaikh Date: Fri, 1 Mar 2019 02:07:31 +0530 Subject: [PATCH] Update API.md --- API.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/API.md b/API.md index 1318fdd..5ca6c15 100644 --- a/API.md +++ b/API.md @@ -351,6 +351,10 @@ Returns an `Array` with a single `Object` if key exists. ```javascript const profile = db.get('shamb0t') // [{ _id: 'shamb0t', name: 'shamb0t', followers: 500 }] + // to get all the records + const profile = db.get(''); + // returns all the records + // [{ _id: 'shamb0t', name: 'shamb0t', followers: 500 }] ``` #### query(mapper)