Permalink
Browse files

updated docs to reflect changes in property definition syntax

  • Loading branch information...
1 parent 8e02246 commit 92474d92b0c89a1a15c373aeeb423d7b5e04cf3a @nw nw committed Jun 10, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -124,11 +124,11 @@ To remove an existing one:
To define arrays:
- properties: [ 'name', ['tags'] ]
+ properties: [ 'name', {'tags': []} ]
To define embedded objects:
- properties: [ 'name', [{blogposts: ['title', 'body', ...]}] ]
+ properties: [ 'name', [{blogposts: [['title', 'body', ...]]}] ]
`_id` is added automatically for all models.

0 comments on commit 92474d9

Please sign in to comment.