Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentStorage ¶
type PersistentStorage interface { QueryOne(c context.Context, target QueryGetter, params map[string]interface{}) error QueryMany(c context.Context, target QueryGetter, params map[string]interface{}) error QueryInt(c context.Context, query QueryGetter, params map[string]interface{}) (int64, error) QueryString(c context.Context, query QueryGetter, params map[string]interface{}) (string, error) GetOne(c context.Context, target interface{}, params interface{}) error GetMany(c context.Context, target interface{}, params interface{}) error Insert(c context.Context, target interface{}) error Update(c context.Context, update interface{}, query interface{}) error Delete(c context.Context, model interface{}, params interface{}) error Exec(c context.Context, target QueryGetter, params map[string]interface{}) error IsRecordNotFoundError(err error) bool }
type QueryGetter ¶
type QueryGetter interface {
GetQuery() string
}
Click to show internal directories.
Click to hide internal directories.