diff --git a/models/utils/interfaces.go b/models/utils/interfaces.go index a2faabe..4125b3f 100644 --- a/models/utils/interfaces.go +++ b/models/utils/interfaces.go @@ -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)