NewIterator creates a new iterator for iterating over the database
()
| 178 | |
| 179 | // NewIterator creates a new iterator for iterating over the database |
| 180 | func (db *DB) NewIterator() driver.IIterator { |
| 181 | return &Iterator{ |
| 182 | it: db.db.NewIterator(nil, db.iteratorOpts), |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | // NewSnapshot creates a new snapshot of the database |
| 187 | func (db *DB) NewSnapshot() (driver.ISnapshot, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected