|
|
|
@ -28,6 +28,7 @@ type Database interface { |
|
|
|
|
LoadOne(target interface{}, filters ...interface{}) (err error) |
|
|
|
|
LoadStream(target interface{}, filters ...interface{}) (loader StreamLoader, err error) |
|
|
|
|
SaveOne(source interface{}, filters ...interface{}) (err error) |
|
|
|
|
UpdateOne(target interface{}, filters ...interface{}) (err error) |
|
|
|
|
IndexEnsure(cfg interface{}, document interface{}) (err error) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|