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