NoSQLite 受启发,以Python编写SQLite之上的超简单NoSQL样式数据存储 >>> from nosqlite import init, Document, Field >>> init(':memory:') >>> from nosqlite.view import view >>> class Movie(Document): ... indexes = ["director"] ... name = Field() ... director = Field() ... ... @view ... def count_by_dir