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 ¶
Types ¶
type Engine ¶
type Engine struct { RowsAffected int64 //When this field is set to true. The table names will not be pluralized. //The default behavior is to pluralize 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 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.
This acts as context, allowing passing values around. For fuc
Click to show internal directories.
Click to hide internal directories.