()
| 310 | } |
| 311 | |
| 312 | func (db *DB) NewWriteBatch() driver.IWriteBatch { |
| 313 | wb := &WriteBatch{ |
| 314 | db: db, |
| 315 | wbatch: new(leveldb.Batch), |
| 316 | } |
| 317 | return wb |
| 318 | } |
| 319 | |
| 320 | func (db *DB) NewIterator() driver.IIterator { |
| 321 | it := &Iterator{ |
nothing calls this directly
no outgoing calls
no test coverage detected