PrefixSearchScan iterates over a key prefix at given bucket, prefix, match regular expression and limitNum. LimitNum will limit the number of entries return.
(bucket string, prefix []byte, reg string, offsetNum int, limitNum int)
| 404 | // PrefixSearchScan iterates over a key prefix at given bucket, prefix, match regular expression and limitNum. |
| 405 | // LimitNum will limit the number of entries return. |
| 406 | func (tx *Tx) PrefixSearchScan(bucket string, prefix []byte, reg string, offsetNum int, limitNum int) (values [][]byte, err error) { |
| 407 | // PrefixSearchScan is kept as an API call to not break upstream projects |
| 408 | // that rely on it. |
| 409 | _, values, err = tx.PrefixScanEntries(bucket, prefix, reg, offsetNum, limitNum, false, true) |
| 410 | return values, err |
| 411 | } |
| 412 | |
| 413 | // Delete removes a key from the bucket at given bucket and key. |
| 414 | func (tx *Tx) Delete(bucket string, key []byte) error { |
nothing calls this directly
no test coverage detected