Reference
Python module index
Newt DB is split into one main package and three support modules. This page lists them with the part of the reference that documents each one.
n
- newt Connections, databases, storage and the Connection class
- newt.db.follow Change subscription, progress tracking and listening
- newt.db.jsonpickle Pickle to JSON conversion helpers
- newt.db.search Search, raw queries and text index helpers
What each module contains
| Module | Public names |
|---|---|
newt.db |
connection, DB, storage, pg_connection, Connection, Object, Persistent, List, BTree |
newt.db.search |
where, search, where_batch, search_batch, query_data, create_text_index, create_text_index_sql, read_only_cursor |
newt.db.follow |
updates, listen, get_progress_tid, set_progress_tid, garbage |
newt.db.jsonpickle |
Jsonifier, JsonUnpickler |
Entry points. Most applications only need newt.db.connection and the methods on the connection. The other modules are for search, change streams and custom JSON handling.