mirror of
https://github.com/safing/portbase
synced 2025-09-09 13:55:47 +00:00
Improve database storage put method
This commit is contained in:
parent
812c1e26c5
commit
558486483b
13 changed files with 56 additions and 45 deletions
|
@ -9,7 +9,7 @@ import (
|
|||
// Interface defines the database storage API.
|
||||
type Interface interface {
|
||||
Get(key string) (record.Record, error)
|
||||
Put(m record.Record) error
|
||||
Put(m record.Record) (record.Record, error)
|
||||
Delete(key string) error
|
||||
Query(q *query.Query, local, internal bool) (*iterator.Iterator, error)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue