Documentation ¶
Index ¶
- type Creator
- type FakeOrmer
- func (f *FakeOrmer) Begin() error
- func (f *FakeOrmer) BeginTx(ctx context.Context, opts *sql.TxOptions) error
- func (f *FakeOrmer) Commit() error
- func (f *FakeOrmer) DBStats() *sql.DBStats
- func (f *FakeOrmer) Delete(md interface{}, cols ...string) (int64, error)
- func (f *FakeOrmer) Driver() orm.Driver
- func (f *FakeOrmer) Insert(interface{}) (int64, error)
- func (f *FakeOrmer) InsertMulti(bulk int, mds interface{}) (int64, error)
- func (f *FakeOrmer) InsertOrUpdate(md interface{}, colConflitAndArgs ...string) (int64, error)
- func (f *FakeOrmer) LoadRelated(md interface{}, name string, args ...interface{}) (int64, error)
- func (f *FakeOrmer) QueryM2M(md interface{}, name string) orm.QueryM2Mer
- func (f *FakeOrmer) QueryTable(ptrStructOrTableName interface{}) orm.QuerySeter
- func (f *FakeOrmer) Raw(query string, args ...interface{}) orm.RawSeter
- func (f *FakeOrmer) Read(md interface{}, cols ...string) error
- func (f *FakeOrmer) ReadForUpdate(md interface{}, cols ...string) error
- func (f *FakeOrmer) ReadOrCreate(md interface{}, col1 string, cols ...string) (bool, int64, error)
- func (f *FakeOrmer) Rollback() error
- func (f *FakeOrmer) Update(md interface{}, cols ...string) (int64, error)
- func (f *FakeOrmer) Using(name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeOrmer ¶
type FakeOrmer struct{}
FakeOrmer ...
func (*FakeOrmer) InsertMulti ¶
InsertMulti ...
func (*FakeOrmer) InsertOrUpdate ¶
InsertOrUpdate ...
func (*FakeOrmer) LoadRelated ¶
LoadRelated ...
func (*FakeOrmer) QueryM2M ¶
func (f *FakeOrmer) QueryM2M(md interface{}, name string) orm.QueryM2Mer
QueryM2M ...
func (*FakeOrmer) QueryTable ¶
func (f *FakeOrmer) QueryTable(ptrStructOrTableName interface{}) orm.QuerySeter
QueryTable ...
func (*FakeOrmer) ReadForUpdate ¶
ReadForUpdate ...
func (*FakeOrmer) ReadOrCreate ¶
ReadOrCreate ...
Click to show internal directories.
Click to hide internal directories.