Documentation ¶
Overview ¶
Package engine defines the core structure that drives the ngorm API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct { RowsAffected int64 //When this field is set to true. The table names will not be pluarized. //The default behaviour is to plurarize table names e.g Order struct will //give orders table name. SingularTable bool Ctx context.Context Dialect dialects.Dialect Search *model.Search Scope *model.Scope StructMap *model.SafeStructsMap SQLDB model.SQLCommon Log *logger.Zapper Now func() time.Time }
Engine is the driving force for ngorm. It contains, Scope, Search and other utility properties for easily building complex SQL queries.
Click to show internal directories.
Click to hide internal directories.