Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FactoryImpl ¶
type FactoryImpl struct {
// contains filtered or unexported fields
}
func NewFactoryImpl ¶
func NewFactoryImpl(query ormcontract.Query) *FactoryImpl
func (*FactoryImpl) Count ¶
func (f *FactoryImpl) Count(count int) ormcontract.Factory
Count Specify the number of models you wish to create / make.
func (*FactoryImpl) Create ¶
func (f *FactoryImpl) Create(value any, attributes ...map[string]any) error
Create a model and persist it in the database.
func (*FactoryImpl) CreateQuietly ¶
func (f *FactoryImpl) CreateQuietly(value any, attributes ...map[string]any) error
CreateQuietly create a model and persist it in the database without firing any events.
Click to show internal directories.
Click to hide internal directories.