Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for valcor (0.1 sec)

  1. scan.go

    		if reflectValue := reflect.Indirect(reflect.Indirect(reflect.ValueOf(values[idx]))); reflectValue.IsValid() {
    			mapValue[column] = reflectValue.Interface()
    			if valuer, ok := mapValue[column].(driver.Valuer); ok {
    				mapValue[column], _ = valuer.Value()
    			} else if b, ok := mapValue[column].(sql.RawBytes); ok {
    				mapValue[column] = string(b)
    			}
    		} else {
    			mapValue[column] = nil
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/database/sql/convert.go

    		return nil
    	}
    
    	// First, see if the value itself knows how to convert
    	// itself to a driver type. For example, a NullString
    	// struct changing into a string or nil.
    	if vr, ok := nv.Value.(driver.Valuer); ok {
    		sv, err := callValuerValue(vr)
    		if err != nil {
    			return err
    		}
    		if !driver.IsValue(sv) {
    			return fmt.Errorf("non-subset type %T returned from Value", sv)
    		}
    		nv.Value = sv
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. docs/en/data/external_links.yml

    Patrick Ladon author_link: https://dev.to/factorlive link: https://dev.to/factorlive/python-facebook-messenger-webhook-with-fastapi-on-glitch-4n90 title: Python Facebook messenger webhook with FastAPI on Glitch - author: Valon Januzaj author_link: https://www.linkedin.com/in/valon-januzaj-b02692187/ link: https://valonjanuzaj.medium.com/deploy-a-dockerized-fastapi-application-to-aws-cc757830ba1b title: Deploy a dockerized FastAPI application to AWS - author: Amit Chaudhary author_link: https://twitter.com/amitness...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Jun 12 00:47:57 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. schema/relationship.go

    			schema.guessRelation(relation, field, guessEmbeddedHas)
    		// case guessEmbeddedHas:
    		default:
    			schema.err = fmt.Errorf("invalid field found for struct %v's field %s: define a valid foreign key for relations or implement the Valuer/Scanner interface",
    				schema, field.Name)
    		}
    	}
    
    	switch gl {
    	case guessBelongs:
    		primarySchema, foreignSchema = relation.FieldSchema, schema
    	case guessEmbeddedBelongs:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top