Documentation
¶
Index ¶
- func Core() *ormCore
- func Select(emptyO interface{}, list interface{})
- type OrmId
- type OrmMysqlStorage
- func (storage *OrmMysqlStorage) Connect(parameters *ormCoreParameters)
- func (storage *OrmMysqlStorage) DeleteObject(o *OrmObjectBase)
- func (storage *OrmMysqlStorage) Disconnect()
- func (storage *OrmMysqlStorage) GetObjectData(o *OrmObjectBase) bool
- func (storage *OrmMysqlStorage) IsConnected() bool
- func (storage *OrmMysqlStorage) PutObjectData(o *OrmObjectBase) OrmId
- func (storage *OrmMysqlStorage) SelectIdList(empty_o *OrmObjectBase) []OrmId
- type OrmObject
- type OrmObjectBase
- func (o *OrmObjectBase) Delete()
- func (o *OrmObjectBase) GetFieldValue(field_name string) interface{}
- func (o *OrmObjectBase) HasFieldValue(field_name string) bool
- func (o *OrmObjectBase) Id() OrmId
- func (o *OrmObjectBase) Init(nilPointer interface{}, idFieldName, tableName string, fieldNames []string)
- func (o *OrmObjectBase) Load(id OrmId) bool
- func (o *OrmObjectBase) MustLoad(id OrmId)
- func (o *OrmObjectBase) Save() OrmId
- func (o *OrmObjectBase) SetFieldValue(field_name string, value interface{})
- type OrmStorage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OrmMysqlStorage ¶
type OrmMysqlStorage struct {
// contains filtered or unexported fields
}
func (*OrmMysqlStorage) Connect ¶
func (storage *OrmMysqlStorage) Connect(parameters *ormCoreParameters)
func (*OrmMysqlStorage) DeleteObject ¶
func (storage *OrmMysqlStorage) DeleteObject(o *OrmObjectBase)
func (*OrmMysqlStorage) Disconnect ¶
func (storage *OrmMysqlStorage) Disconnect()
func (*OrmMysqlStorage) GetObjectData ¶
func (storage *OrmMysqlStorage) GetObjectData(o *OrmObjectBase) bool
func (*OrmMysqlStorage) IsConnected ¶
func (storage *OrmMysqlStorage) IsConnected() bool
func (*OrmMysqlStorage) PutObjectData ¶
func (storage *OrmMysqlStorage) PutObjectData(o *OrmObjectBase) OrmId
func (*OrmMysqlStorage) SelectIdList ¶
func (storage *OrmMysqlStorage) SelectIdList(empty_o *OrmObjectBase) []OrmId
type OrmObjectBase ¶
type OrmObjectBase struct {
// contains filtered or unexported fields
}
region OrmObjectBase
func (*OrmObjectBase) Delete ¶
func (o *OrmObjectBase) Delete()
func (*OrmObjectBase) GetFieldValue ¶
func (o *OrmObjectBase) GetFieldValue(field_name string) interface{}
func (*OrmObjectBase) HasFieldValue ¶
func (o *OrmObjectBase) HasFieldValue(field_name string) bool
func (*OrmObjectBase) Id ¶
func (o *OrmObjectBase) Id() OrmId
func (*OrmObjectBase) Init ¶
func (o *OrmObjectBase) Init(nilPointer interface{}, idFieldName, tableName string, fieldNames []string)
func (*OrmObjectBase) Load ¶
func (o *OrmObjectBase) Load(id OrmId) bool
func (*OrmObjectBase) MustLoad ¶
func (o *OrmObjectBase) MustLoad(id OrmId)
func (*OrmObjectBase) Save ¶
func (o *OrmObjectBase) Save() OrmId
func (*OrmObjectBase) SetFieldValue ¶
func (o *OrmObjectBase) SetFieldValue(field_name string, value interface{})
type OrmStorage ¶
type OrmStorage interface {
Connect(parameters *ormCoreParameters)
IsConnected() bool
Disconnect()
PutObjectData(*OrmObjectBase) OrmId
GetObjectData(o *OrmObjectBase) bool
DeleteObject(o *OrmObjectBase)
SelectIdList(empty_o *OrmObjectBase) []OrmId
}
Click to show internal directories.
Click to hide internal directories.