Statement statement
| 20 | |
| 21 | // Statement statement |
| 22 | type Statement struct { |
| 23 | *DB |
| 24 | TableExpr *clause.Expr |
| 25 | Table string |
| 26 | Model interface{} |
| 27 | Unscoped bool |
| 28 | Dest interface{} |
| 29 | ReflectValue reflect.Value |
| 30 | Clauses map[string]clause.Clause |
| 31 | BuildClauses []string |
| 32 | Distinct bool |
| 33 | Selects []string // selected columns |
| 34 | Omits []string // omit columns |
| 35 | ColumnMapping map[string]string // map columns |
| 36 | Joins []join |
| 37 | Preloads map[string][]interface{} |
| 38 | Settings sync.Map |
| 39 | ConnPool ConnPool |
| 40 | Schema *schema.Schema |
| 41 | Context context.Context |
| 42 | RaiseErrorOnNotFound bool |
| 43 | SkipHooks bool |
| 44 | SQL strings.Builder |
| 45 | Vars []interface{} |
| 46 | CurDestIndex int |
| 47 | attrs []interface{} |
| 48 | assigns []interface{} |
| 49 | scopes []func(*DB) *DB |
| 50 | Result *result |
| 51 | } |
| 52 | |
| 53 | type join struct { |
| 54 | Name string |
nothing calls this directly
no outgoing calls
no test coverage detected