NewWriteBatch creates a new write batch for batch operations
()
| 171 | |
| 172 | // NewWriteBatch creates a new write batch for batch operations |
| 173 | func (db *DB) NewWriteBatch() driver.IWriteBatch { |
| 174 | return &WriteBatch{ |
| 175 | db: db, |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | // NewIterator creates a new iterator for iterating over the database |
| 180 | func (db *DB) NewIterator() driver.IIterator { |
nothing calls this directly
no outgoing calls
no test coverage detected