From cd9e00fcfe12411652e25383519713eba86d4255 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Sat, 31 Oct 2015 12:16:56 +0000 Subject: [PATCH] update --- doc/api_docs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api_docs.md b/doc/api_docs.md index 656ce2b..812229f 100644 --- a/doc/api_docs.md +++ b/doc/api_docs.md @@ -17,8 +17,8 @@ This document is auto-generated from the core `bedquilt` source code, and descri Add a set of constraints to the collection. The supplied json document should be in the form {field: constraint_spec}, for example: - {"age": {"$required": 1, - "$notnull": 1, + {"age": {"$required": true, + "$notnull": true, "$type": "number"}} Valid constraints are: $required, $notnull and $type. - {$required: 1} : the field must be present in all documents