Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RTrimSlice (0.09 sec)

  1. callbacks/query.go

    	if v, ok := db.Statement.Clauses["FROM"].Expression.(clause.From); ok {
    		fromClause := db.Statement.Clauses["FROM"]
    		fromClause.Expression = clause.From{Tables: v.Tables, Joins: utils.RTrimSlice(v.Joins, len(db.Statement.Joins))} // keep the original From Joins
    		db.Statement.Clauses["FROM"] = fromClause
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top