Skip to content
Myr

Render the code block in mongokit.rst

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by lord63 · committed by lord63 · parent 751fe45 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:docs/patterns/mongokit.rst+1 added
46 unmodified lines
47insert query to the next without any problem. MongoKit is just schemaless48too, but implements some validation to ensure data integrity.4950Here is an example document (put this also into :file:`app.py`, e.g.)::5152 from mongokit import ValidationError5354 def max_length(length):55 def validate(value):
89 unmodified lines