Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.9.6
type Config struct { FetchRelated bool StoreRelated bool DeleteRelated bool Params map[string]interface{} }
func (Config) WithOptions ¶ added in v1.9.6
type DeleteRelatedPersister ¶
type FetchRelatedPersister ¶
type Option ¶ added in v1.9.6
func DeleteRelated ¶ added in v1.9.6
func FetchRelated ¶ added in v1.9.6
func StoreRelated ¶ added in v1.9.6
type Persister ¶
type Persister interface { dbx.Context WithContext(dbx.Context) Persister WithOptions(...Option) Persister Config() Config Param(name string) interface{} Store(string, interface{}, []string) error Fetch(string, interface{}, interface{}) error Count(string, ...interface{}) (int, error) Select(interface{}, string, ...interface{}) error Delete(string, interface{}) error DeleteWithID(string, reflect.Type, interface{}) error }
type Row ¶ added in v1.1.0
func (*Row) ScanStruct ¶ added in v1.1.0
type Rows ¶ added in v1.1.0
func (*Rows) ScanStruct ¶ added in v1.1.0
type StoreRelatedPersister ¶
Click to show internal directories.
Click to hide internal directories.