Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for QuotedIdentifier (0.16 sec)

  1. internal/s3select/sql/parser.go

    	ID  *Identifier    `parser:"| \".\" @@"`
    }
    
    // QuotedIdentifier is a type for parsed strings that are double
    // quoted.
    type QuotedIdentifier string
    
    // Capture interface used by participle
    func (qi *QuotedIdentifier) Capture(values []string) error {
    	// Remove enclosing quotes
    	n := len(values[0])
    	r := values[0][1 : n-1]
    
    	// Translate doubled quotes
    	*qi = QuotedIdentifier(strings.ReplaceAll(r, `""`, `"`))
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top