Versions in this module Expand all Collapse all v0 v0.18.0 Aug 25, 2020 v0.17.2 Aug 17, 2020 v0.17.1 Aug 16, 2020 v0.17.0 Aug 16, 2020 v0.16.1 Aug 9, 2020 v0.16.0 Aug 7, 2020 Changes in this version + var Neuron_Models = []mapping.Model + type Blog struct + CreatedAt time.Time + CurrentPost *Post + CurrentPostID uint64 + ID int + Posts []*Post + Title string + ViewCount int + func (b *Blog) AddRelationModel(relation *mapping.StructField, model mapping.Model) error + func (b *Blog) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (b *Blog) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (b *Blog) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (b *Blog) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (b *Blog) GetPrimaryKeyAddress() interface{} + func (b *Blog) GetPrimaryKeyHashableValue() interface{} + func (b *Blog) GetPrimaryKeyStringValue() (string, error) + func (b *Blog) GetPrimaryKeyValue() interface{} + func (b *Blog) GetPrimaryKeyZeroValue() interface{} + func (b *Blog) GetRelationLen(relation *mapping.StructField) (int, error) + func (b *Blog) GetRelationModel(relation *mapping.StructField) (mapping.Model, error) + func (b *Blog) GetRelationModelAt(relation *mapping.StructField, index int) (models mapping.Model, err error) + func (b *Blog) GetRelationModels(relation *mapping.StructField) (models []mapping.Model, err error) + func (b *Blog) IsFieldZero(field *mapping.StructField) (bool, error) + func (b *Blog) IsPrimaryKeyZero() bool + func (b *Blog) NeuronCollectionName() string + func (b *Blog) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (b *Blog) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (b *Blog) SetFieldZeroValue(field *mapping.StructField) error + func (b *Blog) SetPrimaryKeyStringValue(value string) error + func (b *Blog) SetPrimaryKeyValue(value interface{}) error + func (b *Blog) SetRelationModel(relation *mapping.StructField, model mapping.Model) error + func (b *Blog) SetRelationModels(relation *mapping.StructField, models ...mapping.Model) error + type Comment struct + Body string + ID int + PostID uint64 + func (c *Comment) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (c *Comment) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (c *Comment) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (c *Comment) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (c *Comment) GetPrimaryKeyAddress() interface{} + func (c *Comment) GetPrimaryKeyHashableValue() interface{} + func (c *Comment) GetPrimaryKeyStringValue() (string, error) + func (c *Comment) GetPrimaryKeyValue() interface{} + func (c *Comment) GetPrimaryKeyZeroValue() interface{} + func (c *Comment) IsFieldZero(field *mapping.StructField) (bool, error) + func (c *Comment) IsPrimaryKeyZero() bool + func (c *Comment) NeuronCollectionName() string + func (c *Comment) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (c *Comment) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (c *Comment) SetFieldZeroValue(field *mapping.StructField) error + func (c *Comment) SetPrimaryKeyStringValue(value string) error + func (c *Comment) SetPrimaryKeyValue(value interface{}) error + type FilterNestedModel struct + Field string + type FilterRelationModel struct + ID int + func (f *FilterRelationModel) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (f *FilterRelationModel) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (f *FilterRelationModel) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (f *FilterRelationModel) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (f *FilterRelationModel) GetPrimaryKeyAddress() interface{} + func (f *FilterRelationModel) GetPrimaryKeyHashableValue() interface{} + func (f *FilterRelationModel) GetPrimaryKeyStringValue() (string, error) + func (f *FilterRelationModel) GetPrimaryKeyValue() interface{} + func (f *FilterRelationModel) GetPrimaryKeyZeroValue() interface{} + func (f *FilterRelationModel) IsFieldZero(field *mapping.StructField) (bool, error) + func (f *FilterRelationModel) IsPrimaryKeyZero() bool + func (f *FilterRelationModel) NeuronCollectionName() string + func (f *FilterRelationModel) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (f *FilterRelationModel) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (f *FilterRelationModel) SetFieldZeroValue(field *mapping.StructField) error + func (f *FilterRelationModel) SetPrimaryKeyStringValue(value string) error + func (f *FilterRelationModel) SetPrimaryKeyValue(value interface{}) error + type ForeignModel struct + ForeignKey int + ID int + func (f *ForeignModel) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (f *ForeignModel) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (f *ForeignModel) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (f *ForeignModel) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (f *ForeignModel) GetPrimaryKeyAddress() interface{} + func (f *ForeignModel) GetPrimaryKeyHashableValue() interface{} + func (f *ForeignModel) GetPrimaryKeyStringValue() (string, error) + func (f *ForeignModel) GetPrimaryKeyValue() interface{} + func (f *ForeignModel) GetPrimaryKeyZeroValue() interface{} + func (f *ForeignModel) IsFieldZero(field *mapping.StructField) (bool, error) + func (f *ForeignModel) IsPrimaryKeyZero() bool + func (f *ForeignModel) NeuronCollectionName() string + func (f *ForeignModel) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (f *ForeignModel) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (f *ForeignModel) SetFieldZeroValue(field *mapping.StructField) error + func (f *ForeignModel) SetPrimaryKeyStringValue(value string) error + func (f *ForeignModel) SetPrimaryKeyValue(value interface{}) error + type ForeignWithRelation struct + ForeignKey int + ID int + Relation *HasManyWithRelation + func (f *ForeignWithRelation) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (f *ForeignWithRelation) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (f *ForeignWithRelation) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (f *ForeignWithRelation) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (f *ForeignWithRelation) GetPrimaryKeyAddress() interface{} + func (f *ForeignWithRelation) GetPrimaryKeyHashableValue() interface{} + func (f *ForeignWithRelation) GetPrimaryKeyStringValue() (string, error) + func (f *ForeignWithRelation) GetPrimaryKeyValue() interface{} + func (f *ForeignWithRelation) GetPrimaryKeyZeroValue() interface{} + func (f *ForeignWithRelation) GetRelationModel(relation *mapping.StructField) (mapping.Model, error) + func (f *ForeignWithRelation) IsFieldZero(field *mapping.StructField) (bool, error) + func (f *ForeignWithRelation) IsPrimaryKeyZero() bool + func (f *ForeignWithRelation) NeuronCollectionName() string + func (f *ForeignWithRelation) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (f *ForeignWithRelation) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (f *ForeignWithRelation) SetFieldZeroValue(field *mapping.StructField) error + func (f *ForeignWithRelation) SetPrimaryKeyStringValue(value string) error + func (f *ForeignWithRelation) SetPrimaryKeyValue(value interface{}) error + func (f *ForeignWithRelation) SetRelationModel(relation *mapping.StructField, model mapping.Model) error + type Formatter struct + Attr string + FK int + ID int + Lang string + Rel *FormatterRelation + func (f *Formatter) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (f *Formatter) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (f *Formatter) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (f *Formatter) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (f *Formatter) GetPrimaryKeyAddress() interface{} + func (f *Formatter) GetPrimaryKeyHashableValue() interface{} + func (f *Formatter) GetPrimaryKeyStringValue() (string, error) + func (f *Formatter) GetPrimaryKeyValue() interface{} + func (f *Formatter) GetPrimaryKeyZeroValue() interface{} + func (f *Formatter) GetRelationModel(relation *mapping.StructField) (mapping.Model, error) + func (f *Formatter) IsFieldZero(field *mapping.StructField) (bool, error) + func (f *Formatter) IsPrimaryKeyZero() bool + func (f *Formatter) NeuronCollectionName() string + func (f *Formatter) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (f *Formatter) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (f *Formatter) SetFieldZeroValue(field *mapping.StructField) error + func (f *Formatter) SetPrimaryKeyStringValue(value string) error + func (f *Formatter) SetPrimaryKeyValue(value interface{}) error + func (f *Formatter) SetRelationModel(relation *mapping.StructField, model mapping.Model) error + type FormatterRelation struct + ID int + func (f *FormatterRelation) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (f *FormatterRelation) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (f *FormatterRelation) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (f *FormatterRelation) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (f *FormatterRelation) GetPrimaryKeyAddress() interface{} + func (f *FormatterRelation) GetPrimaryKeyHashableValue() interface{} + func (f *FormatterRelation) GetPrimaryKeyStringValue() (string, error) + func (f *FormatterRelation) GetPrimaryKeyValue() interface{} + func (f *FormatterRelation) GetPrimaryKeyZeroValue() interface{} + func (f *FormatterRelation) IsFieldZero(field *mapping.StructField) (bool, error) + func (f *FormatterRelation) IsPrimaryKeyZero() bool + func (f *FormatterRelation) NeuronCollectionName() string + func (f *FormatterRelation) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (f *FormatterRelation) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (f *FormatterRelation) SetFieldZeroValue(field *mapping.StructField) error + func (f *FormatterRelation) SetPrimaryKeyStringValue(value string) error + func (f *FormatterRelation) SetPrimaryKeyValue(value interface{}) error + type HasManyModel struct + HasMany []*ForeignModel + ID int + func (h *HasManyModel) AddRelationModel(relation *mapping.StructField, model mapping.Model) error + func (h *HasManyModel) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (h *HasManyModel) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (h *HasManyModel) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (h *HasManyModel) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (h *HasManyModel) GetPrimaryKeyAddress() interface{} + func (h *HasManyModel) GetPrimaryKeyHashableValue() interface{} + func (h *HasManyModel) GetPrimaryKeyStringValue() (string, error) + func (h *HasManyModel) GetPrimaryKeyValue() interface{} + func (h *HasManyModel) GetPrimaryKeyZeroValue() interface{} + func (h *HasManyModel) GetRelationLen(relation *mapping.StructField) (int, error) + func (h *HasManyModel) GetRelationModelAt(relation *mapping.StructField, index int) (models mapping.Model, err error) + func (h *HasManyModel) GetRelationModels(relation *mapping.StructField) (models []mapping.Model, err error) + func (h *HasManyModel) IsFieldZero(field *mapping.StructField) (bool, error) + func (h *HasManyModel) IsPrimaryKeyZero() bool + func (h *HasManyModel) NeuronCollectionName() string + func (h *HasManyModel) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (h *HasManyModel) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (h *HasManyModel) SetFieldZeroValue(field *mapping.StructField) error + func (h *HasManyModel) SetPrimaryKeyStringValue(value string) error + func (h *HasManyModel) SetPrimaryKeyValue(value interface{}) error + func (h *HasManyModel) SetRelationModels(relation *mapping.StructField, models ...mapping.Model) error + type HasManyWithRelation struct + ID int + Relation []*ForeignWithRelation + func (h *HasManyWithRelation) AddRelationModel(relation *mapping.StructField, model mapping.Model) error + func (h *HasManyWithRelation) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (h *HasManyWithRelation) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (h *HasManyWithRelation) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (h *HasManyWithRelation) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (h *HasManyWithRelation) GetPrimaryKeyAddress() interface{} + func (h *HasManyWithRelation) GetPrimaryKeyHashableValue() interface{} + func (h *HasManyWithRelation) GetPrimaryKeyStringValue() (string, error) + func (h *HasManyWithRelation) GetPrimaryKeyValue() interface{} + func (h *HasManyWithRelation) GetPrimaryKeyZeroValue() interface{} + func (h *HasManyWithRelation) GetRelationLen(relation *mapping.StructField) (int, error) + func (h *HasManyWithRelation) GetRelationModelAt(relation *mapping.StructField, index int) (models mapping.Model, err error) + func (h *HasManyWithRelation) GetRelationModels(relation *mapping.StructField) (models []mapping.Model, err error) + func (h *HasManyWithRelation) IsFieldZero(field *mapping.StructField) (bool, error) + func (h *HasManyWithRelation) IsPrimaryKeyZero() bool + func (h *HasManyWithRelation) NeuronCollectionName() string + func (h *HasManyWithRelation) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (h *HasManyWithRelation) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (h *HasManyWithRelation) SetFieldZeroValue(field *mapping.StructField) error + func (h *HasManyWithRelation) SetPrimaryKeyStringValue(value string) error + func (h *HasManyWithRelation) SetPrimaryKeyValue(value interface{}) error + func (h *HasManyWithRelation) SetRelationModels(relation *mapping.StructField, models ...mapping.Model) error + type HasOneModel struct + HasOne *ForeignModel + ID int + func (h *HasOneModel) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (h *HasOneModel) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (h *HasOneModel) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (h *HasOneModel) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (h *HasOneModel) GetPrimaryKeyAddress() interface{} + func (h *HasOneModel) GetPrimaryKeyHashableValue() interface{} + func (h *HasOneModel) GetPrimaryKeyStringValue() (string, error) + func (h *HasOneModel) GetPrimaryKeyValue() interface{} + func (h *HasOneModel) GetPrimaryKeyZeroValue() interface{} + func (h *HasOneModel) GetRelationModel(relation *mapping.StructField) (mapping.Model, error) + func (h *HasOneModel) IsFieldZero(field *mapping.StructField) (bool, error) + func (h *HasOneModel) IsPrimaryKeyZero() bool + func (h *HasOneModel) NeuronCollectionName() string + func (h *HasOneModel) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (h *HasOneModel) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (h *HasOneModel) SetFieldZeroValue(field *mapping.StructField) error + func (h *HasOneModel) SetPrimaryKeyStringValue(value string) error + func (h *HasOneModel) SetPrimaryKeyValue(value interface{}) error + func (h *HasOneModel) SetRelationModel(relation *mapping.StructField, model mapping.Model) error + type JoinModel struct + ForeignKey int + ID int + MtMForeignKey int + func (j *JoinModel) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (j *JoinModel) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (j *JoinModel) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (j *JoinModel) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (j *JoinModel) GetPrimaryKeyAddress() interface{} + func (j *JoinModel) GetPrimaryKeyHashableValue() interface{} + func (j *JoinModel) GetPrimaryKeyStringValue() (string, error) + func (j *JoinModel) GetPrimaryKeyValue() interface{} + func (j *JoinModel) GetPrimaryKeyZeroValue() interface{} + func (j *JoinModel) IsFieldZero(field *mapping.StructField) (bool, error) + func (j *JoinModel) IsPrimaryKeyZero() bool + func (j *JoinModel) NeuronCollectionName() string + func (j *JoinModel) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (j *JoinModel) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (j *JoinModel) SetFieldZeroValue(field *mapping.StructField) error + func (j *JoinModel) SetPrimaryKeyStringValue(value string) error + func (j *JoinModel) SetPrimaryKeyValue(value interface{}) error + type ManyToManyModel struct + ID int + Many2Many []*RelatedModel + func (m *ManyToManyModel) AddRelationModel(relation *mapping.StructField, model mapping.Model) error + func (m *ManyToManyModel) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (m *ManyToManyModel) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (m *ManyToManyModel) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (m *ManyToManyModel) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (m *ManyToManyModel) GetPrimaryKeyAddress() interface{} + func (m *ManyToManyModel) GetPrimaryKeyHashableValue() interface{} + func (m *ManyToManyModel) GetPrimaryKeyStringValue() (string, error) + func (m *ManyToManyModel) GetPrimaryKeyValue() interface{} + func (m *ManyToManyModel) GetPrimaryKeyZeroValue() interface{} + func (m *ManyToManyModel) GetRelationLen(relation *mapping.StructField) (int, error) + func (m *ManyToManyModel) GetRelationModelAt(relation *mapping.StructField, index int) (models mapping.Model, err error) + func (m *ManyToManyModel) GetRelationModels(relation *mapping.StructField) (models []mapping.Model, err error) + func (m *ManyToManyModel) IsFieldZero(field *mapping.StructField) (bool, error) + func (m *ManyToManyModel) IsPrimaryKeyZero() bool + func (m *ManyToManyModel) NeuronCollectionName() string + func (m *ManyToManyModel) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (m *ManyToManyModel) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (m *ManyToManyModel) SetFieldZeroValue(field *mapping.StructField) error + func (m *ManyToManyModel) SetPrimaryKeyStringValue(value string) error + func (m *ManyToManyModel) SetPrimaryKeyValue(value interface{}) error + func (m *ManyToManyModel) SetRelationModels(relation *mapping.StructField, models ...mapping.Model) error + type Post struct + BlogID int + Body string + Comments []*Comment + ID uint64 + LatestComment *Comment + Title string + func (p *Post) AddRelationModel(relation *mapping.StructField, model mapping.Model) error + func (p *Post) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (p *Post) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (p *Post) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (p *Post) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (p *Post) GetPrimaryKeyAddress() interface{} + func (p *Post) GetPrimaryKeyHashableValue() interface{} + func (p *Post) GetPrimaryKeyStringValue() (string, error) + func (p *Post) GetPrimaryKeyValue() interface{} + func (p *Post) GetPrimaryKeyZeroValue() interface{} + func (p *Post) GetRelationLen(relation *mapping.StructField) (int, error) + func (p *Post) GetRelationModel(relation *mapping.StructField) (mapping.Model, error) + func (p *Post) GetRelationModelAt(relation *mapping.StructField, index int) (models mapping.Model, err error) + func (p *Post) GetRelationModels(relation *mapping.StructField) (models []mapping.Model, err error) + func (p *Post) IsFieldZero(field *mapping.StructField) (bool, error) + func (p *Post) IsPrimaryKeyZero() bool + func (p *Post) NeuronCollectionName() string + func (p *Post) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (p *Post) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (p *Post) SetFieldZeroValue(field *mapping.StructField) error + func (p *Post) SetPrimaryKeyStringValue(value string) error + func (p *Post) SetPrimaryKeyValue(value interface{}) error + func (p *Post) SetRelationModel(relation *mapping.StructField, model mapping.Model) error + func (p *Post) SetRelationModels(relation *mapping.StructField, models ...mapping.Model) error + type RelatedModel struct + FloatField float64 + ID int + func (r *RelatedModel) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (r *RelatedModel) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (r *RelatedModel) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (r *RelatedModel) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (r *RelatedModel) GetPrimaryKeyAddress() interface{} + func (r *RelatedModel) GetPrimaryKeyHashableValue() interface{} + func (r *RelatedModel) GetPrimaryKeyStringValue() (string, error) + func (r *RelatedModel) GetPrimaryKeyValue() interface{} + func (r *RelatedModel) GetPrimaryKeyZeroValue() interface{} + func (r *RelatedModel) IsFieldZero(field *mapping.StructField) (bool, error) + func (r *RelatedModel) IsPrimaryKeyZero() bool + func (r *RelatedModel) NeuronCollectionName() string + func (r *RelatedModel) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (r *RelatedModel) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (r *RelatedModel) SetFieldZeroValue(field *mapping.StructField) error + func (r *RelatedModel) SetPrimaryKeyStringValue(value string) error + func (r *RelatedModel) SetPrimaryKeyValue(value interface{}) error + type TestingModel struct + Attr string + ForeignKey int + ID int + Nested *FilterNestedModel + Relation *FilterRelationModel + func (t *TestingModel) GetFieldValue(field *mapping.StructField) (interface{}, error) + func (t *TestingModel) GetFieldZeroValue(field *mapping.StructField) (interface{}, error) + func (t *TestingModel) GetFieldsAddress(field *mapping.StructField) (interface{}, error) + func (t *TestingModel) GetHashableFieldValue(field *mapping.StructField) (interface{}, error) + func (t *TestingModel) GetPrimaryKeyAddress() interface{} + func (t *TestingModel) GetPrimaryKeyHashableValue() interface{} + func (t *TestingModel) GetPrimaryKeyStringValue() (string, error) + func (t *TestingModel) GetPrimaryKeyValue() interface{} + func (t *TestingModel) GetPrimaryKeyZeroValue() interface{} + func (t *TestingModel) GetRelationModel(relation *mapping.StructField) (mapping.Model, error) + func (t *TestingModel) IsFieldZero(field *mapping.StructField) (bool, error) + func (t *TestingModel) IsPrimaryKeyZero() bool + func (t *TestingModel) NeuronCollectionName() string + func (t *TestingModel) ParseFieldsStringValue(field *mapping.StructField, value string) (interface{}, error) + func (t *TestingModel) SetFieldValue(field *mapping.StructField, value interface{}) (err error) + func (t *TestingModel) SetFieldZeroValue(field *mapping.StructField) error + func (t *TestingModel) SetPrimaryKeyStringValue(value string) error + func (t *TestingModel) SetPrimaryKeyValue(value interface{}) error + func (t *TestingModel) SetRelationModel(relation *mapping.StructField, model mapping.Model) error