code: func BatchInsert(db Database, col string) DocWriter {
  	if bi, ok := db.(BatchInserter); ok {
  		return bi.BatchInsert(col)
  	}
  	return &seqInsert{db: db, col: col}
  }
docs: // BatchInsert returns a streaming writer for database or emulates it if database has no support for batch inserts.