e3: domain range api simplify (#949)

This commit is contained in:
Alex Sharov 2023-03-22 14:35:58 +07:00 committed by GitHub
parent 24a5f38a85
commit 0915811f47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -475,7 +475,7 @@ type TemporalTx interface {
// Example: IndexRange("IndexName", -1, -1, order.Asc, 10)
IndexRange(name InvertedIdx, k []byte, fromTs, toTs int, asc order.By, limit int) (timestamps iter.U64, err error)
HistoryRange(name History, fromTs, toTs int, asc order.By, limit int) (it iter.KV, err error)
DomainRange(name Domain, k1, k2 []byte, ts uint64, asc order.By, limit int) (it iter.KV, err error)
DomainRange(name Domain, fromKey, toKey []byte, ts uint64, asc order.By, limit int) (it iter.KV, err error)
}
type TemporalRwDB interface {