()
| 218 | } |
| 219 | |
| 220 | func (db *DB) NewWriteBatch() driver.IWriteBatch { |
| 221 | wb := &WriteBatch{ |
| 222 | db: db, |
| 223 | wbatch: new(leveldb.Batch), |
| 224 | } |
| 225 | return wb |
| 226 | } |
| 227 | |
| 228 | func (db *DB) NewIterator() driver.IIterator { |
| 229 | it := &Iterator{ |
nothing calls this directly
no outgoing calls
no test coverage detected