Skip to content

Commit

Permalink
Add simple description of multi and blank
Browse files Browse the repository at this point in the history
  • Loading branch information
honzakral committed Jun 11, 2015
1 parent 5624890 commit 2247816
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/persistence.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ directly from an existing type:
# update the mapping on production
m.save('my-index', using='prod')
Common field options:

``multi``
If set to ``True`` the field's value will be set to ``[]`` at first access.

``blank``
Defaults to ``False`` and if eneabled will cause access to a field with no
value to return the field's empty value (``''`` or ``None``).

Analysis
--------

Expand Down

0 comments on commit 2247816

Please sign in to comment.