From 0915811f47f47100da323f18843e10e836ab4a98 Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Wed, 22 Mar 2023 14:35:58 +0700 Subject: [PATCH] e3: domain range api simplify (#949) --- kv/kv_interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kv/kv_interface.go b/kv/kv_interface.go index f228669f5..65ebb05f4 100644 --- a/kv/kv_interface.go +++ b/kv/kv_interface.go @@ -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 {