optionnal vars failed

This commit is contained in:
mr 2024-07-31 11:50:57 +02:00
parent 2795c924f7
commit 63236362ca

View File

@ -18,7 +18,7 @@ type DBObject interface {
type Accessor interface {
SetLogger(t DataType)
GetType() string
Search(word string) ([]ShallowDBObject, int, error)
Search(word string, options ...string) ([]ShallowDBObject, int, error)
LoadAll() ([]ShallowDBObject, int, error)
LoadOne(id string) (DBObject, int, error)
DeleteOne(id string) (DBObject, int, error)