func (s *dbStore) Seek(key []byte, startTS uint64) ([]byte, []byte, error) {
	err := s.prepareSeek(startTS)
	if err != nil {
		return nil, nil, errors.Trace(err)
	}
	key, val, err := s.db.Seek(key)
	s.wg.Done()
	return key, val, err
}
// Seek searches for the first key in the engine which is >= key in byte order, returns (nil, nil, ErrNotFound)
// if such key is not found.
Seek searches for the first key in the engine which is >= key in byte order, returns (nil, nil, ErrNotFound)
if such key is not found.
// Seek searches for the first key in the engine which is > = key in byte order returns ( nil nil ErrNotFound ) // if such key is not found .
func (s *dbStore) Seek(key []byte, startTS uint64) ([]byte, []byte, error) {
	err := s.prepareSeek(startTS)
	if err != nil {
		return nil, nil, errors.Trace(err)
	}
	key, val, err := s.db.Seek(key)
	s.wg.Done()
	return key, val, err
}
func ( s * dbStore ) Seek ( key [ ] byte , startTS uint64 ) ( [ ] byte , [ ] byte , error ) { err := s . prepareSeek ( startTS ) if err != nil { return nil , nil , errors . Trace ( err ) } key , val , err := s . db . Seek ( key ) s . wg . Done ( ) return key , val , err }
Seek searches for the first key in the engine which is >= key in byte order, returns (nil, nil, ErrNotFound)
if such key is not found.
Seek searches for the first key in the engine which is > = key in byte order returns ( nil nil ErrNotFound ) if such key is not found .