Documentation ¶
Index ¶
- type Common
- func (s *Common) EncodeModelValue(vModel model.Model) (ret string, err error)
- func (s *Common) EncodeValue(vValue model.Value, vType model.Type) (ret string, err error)
- func (s *Common) GetFields() model.Fields
- func (s *Common) GetHostTableName(vModel model.Model) string
- func (s *Common) GetModelValue() (ret string, err error)
- func (s *Common) GetPrimaryKeyField(vModel model.Model) model.Field
- func (s *Common) GetRelationTableName(vField model.Field, rModel model.Model) string
- func (s *Common) GetRelationValue(rModel model.Model) (leftVal, rightVal string, err error)
- func (s *Common) GetTableName() string
- func (s *Common) GetTypeModel(vType model.Type) (model.Model, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶
type Common struct {
// contains filtered or unexported fields
}
func (*Common) EncodeModelValue ¶
func (*Common) EncodeValue ¶
func (*Common) GetModelValue ¶
func (*Common) GetPrimaryKeyField ¶
func (*Common) GetRelationTableName ¶
func (*Common) GetRelationValue ¶
func (*Common) GetTableName ¶
Click to show internal directories.
Click to hide internal directories.