From 138720ed2115ce16e811885cd859c1bb2cafbd38 Mon Sep 17 00:00:00 2001 From: Zertz Date: Thu, 24 Jul 2014 12:05:47 -0400 Subject: [PATCH] Added doc for useSingle Issue: https://github.com/OptimalBits/node_acl/issues/48 PR: https://github.com/OptimalBits/node_acl/pull/49 --- Readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 3495a8e..08d40a6 100644 --- a/Readme.md +++ b/Readme.md @@ -428,13 +428,14 @@ __Arguments__ ### backend( db, [prefix] ) -Creates a backend instance. All backends except Memory require driver or database instance. +Creates a backend instance. All backends except Memory require driver or database instance. `useSingle` is only applicable to the MongoDB backend. __Arguments__ ```javascript db {Object} Database instance prefix {String} Optional collection prefix + useSingle {Boolean} Create one collection for all resources (defaults to false) ``` ```javascript