Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Misiti (0.13 sec)

  1. callbacks/associations.go

    // if values kind is Slice/Array, check all items have been saved
    var visitMapStoreKey = "gorm:saved_association_map"
    
    func checkAssociationsSaved(db *gorm.DB, values reflect.Value) bool {
    	if visit, ok := db.Get(visitMapStoreKey); ok {
    		if v, ok := visit.(*visitMap); ok {
    			if loadOrStoreVisitMap(v, values) {
    				return true
    			}
    		}
    	} else {
    		vistMap := make(visitMap)
    		loadOrStoreVisitMap(&vistMap, values)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Apr 11 03:06:13 GMT 2023
    - 14.3K bytes
    - Viewed (0)
Back to top