Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Salinas (0.23 sec)

  1. clause/expression_test.go

    		Vars:   []interface{}{clause.Column{Table: "table", Name: "col", Alias: "alias"}},
    		Result: "`table`.`col` AS `alias`",
    	}, {
    		SQL:    "?",
    		Vars:   []interface{}{clause.Column{Table: "table", Name: "col", Alias: "alias", Raw: true}},
    		Result: "table.col AS alias",
    	}, {
    		SQL:    "?",
    		Vars:   []interface{}{clause.Table{Name: "table", Alias: "alias"}},
    		Result: "`table` `alias`",
    	}, {
    		SQL:    "?",
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Aug 10 05:34:33 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  2. internal/s3select/sql/evaluate.go

    		return v, nil
    	}
    	return nil, errArithMismatchedTypes
    }
    
    func (e *JSONPath) evalNode(r Record, tableAlias string) (*Value, error) {
    	alias := tableAlias
    	if tableAlias == "" {
    		alias = baseTableName
    	}
    	pathExpr := e.StripTableAlias(alias)
    	_, rawVal := r.Raw()
    	switch rowVal := rawVal.(type) {
    	case jstream.KVS, simdjson.Object:
    		if len(pathExpr) == 0 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  3. cmd/server-startup-msg.go

    	if color.IsTerminal() && (!globalServerCtxt.Anonymous && globalAPIConfig.permitRootAccess()) {
    		logger.Info(color.Blue("\nCLI: ") + mcQuickStartGuide)
    		mcMessage := fmt.Sprintf("$ mc alias set '%s' '%s' '%s' '%s'", alias,
    			endPoint, cred.AccessKey, cred.SecretKey)
    		logger.Info(fmt.Sprintf(getFormatStr(len(mcMessage), 3), mcMessage))
    	}
    }
    
    // Get formatted disk/storage info message.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. statement.go

    			if stmt.TableExpr != nil {
    				stmt.TableExpr.Build(stmt)
    			} else {
    				write(v.Raw, stmt.Table)
    			}
    		} else {
    			write(v.Raw, v.Name)
    		}
    
    		if v.Alias != "" {
    			writer.WriteByte(' ')
    			write(v.Raw, v.Alias)
    		}
    	case clause.Column:
    		if v.Table != "" {
    			if v.Table == clause.CurrentTable {
    				write(v.Raw, stmt.Table)
    			} else {
    				write(v.Raw, v.Table)
    			}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  5. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidTableAlias(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidTableAlias",
    		message:    "The SQL expression contains an invalid table alias.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errUnsupportedSyntax(err error) *s3Error {
    	return &s3Error{
    		code:       "UnsupportedSyntax",
    		message:    "Encountered invalid syntax.",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. schema/field_test.go

    		BOOL    `gorm:"column:fbool"`
    		STRING  `gorm:"column:fstring"`
    		TIME    `gorm:"column:ftime"`
    		BYTES   `gorm:"column:fbytes"`
    	}
    )
    
    func TestTypeAliasField(t *testing.T) {
    	alias, err := schema.Parse(&TypeAlias{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("Failed to parse TypeAlias with permission, got error %v", err)
    	}
    
    	fields := []*schema.Field{
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    // aliasReplacer applies type aliases to earlier API files,
    // to avoid misleading negative results.
    // This makes all the references to os.FileInfo in go1.txt
    // be read as if they said fs.FileInfo, since os.FileInfo is now an alias.
    // If there are many of these, we could do a more general solution,
    // but for now the replacer is fine.
    var aliasReplacer = strings.NewReplacer(
    	"os.FileInfo", "fs.FileInfo",
    	"os.FileMode", "fs.FileMode",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. operator/cmd/mesh/shared.go

    		return err
    	}
    	ms := name.Manifest{
    		Name:    componentName,
    		Content: manifestStr,
    	}
    	_, err = reconciler.ApplyManifest(ms)
    	return err
    }
    
    // --manifests is an alias for --set installPackagePath=
    // --revision is an alias for --set revision=
    func applyFlagAliases(flags []string, manifestsPath, revision string) []string {
    	if manifestsPath != "" {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. internal/s3select/sql/statement.go

    	selectQProp qProp
    
    	// Result of parsing the limit clause if one is present
    	// (otherwise -1)
    	limitValue int64
    
    	// Count of rows that have been output.
    	outputCount int64
    
    	// Table alias
    	tableAlias string
    }
    
    // ParseSelectStatement - parses a select query from the given string
    // and analyzes it.
    func ParseSelectStatement(s string) (stmt SelectStatement, err error) {
    	var selectAST Select
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    	symbols, use _ for local and remote.
    
    	Example:
    	//go:cgo_import_dynamic _ _ "libc.so.6"
    
    	For compatibility with current versions of SWIG,
    	#pragma dynimport is an alias for //go:cgo_import_dynamic.
    
    //go:cgo_dynamic_linker "<path>"
    
    	In internal linking mode, use "<path>" as the dynamic linker
    	in the final binary. This directive is only needed from one
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
Back to top