Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updating (0.18 sec)

  1. chainable_api.go

    	tx = db.getInstance()
    	tx.Statement.Distinct = true
    	if len(args) > 0 {
    		tx = tx.Select(args[0], args[1:]...)
    	}
    	return
    }
    
    // Select specify fields that you want when querying, creating, updating
    //
    // Use Select when you only want a subset of the fields. By default, GORM will select all fields.
    // Select accepts both string arguments and arrays.
    //
    //	// Select name and age of user using multiple arguments
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
Back to top