-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Lines 576 to 583 in 7be0054
| func updateContext(ctx context.Context, selector Selector, db *DB, stmt *Stmt, sqlHead string, data interface{}, args ...interface{}) (Result, error) { | |
| isStmt := (stmt != nil) | |
| if !isStmt && sqlHead == "" { | |
| return nil, fmt.Errorf("[sqlw %v] invalid sql head: %v", opTypInsert, sqlHead) | |
| } | |
| sqlHead = strings.ToLower(sqlHead) | |
| // if strings.Contains(sqlHead, opTypSelect) || |
lesismallesismal
Metadata
Metadata
Assignees
Labels
No labels