Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TITLE (6.83 sec)

  1. internal/s3select/sql/parser_test.go

    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    		participle.CaseInsensitive("Timeword"),
    	)
    
    	j := JSONPath{}
    	cases := []string{
    		"S3Object",
    		"S3Object.id",
    		"S3Object.book.title",
    		"S3Object.id[1]",
    		"S3Object.id['abc']",
    		"S3Object.id['ab']",
    		"S3Object.words.*.id",
    		"S3Object.words.name[*].val",
    		"S3Object.words.name[*].val[*]",
    		"S3Object.words.name[*].val.*",
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  2. internal/s3select/select_test.go

    }
    
    func TestJSONQueries(t *testing.T) {
    	input := `{"id": 0,"title": "Test Record","desc": "Some text","synonyms": ["foo", "bar", "whatever"]}
    	{"id": 1,"title": "Second Record","desc": "another text","synonyms": ["some", "synonym", "value"]}
    	{"id": 2,"title": "Second Record","desc": "another text","numbers": [2, 3.0, 4]}
    	{"id": 3,"title": "Second Record","desc": "another text","nested": [[2, 3.0, 4], [7, 8.5, 9]]}`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  3. internal/s3select/sql/jsonpath_test.go

    	}
    
    	p := participle.MustBuild(
    		&JSONPath{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    	)
    	cases := []struct {
    		str string
    		res []interface{}
    	}{
    		{"s.title", []interface{}{"Murder on the Orient Express", "The Robots of Dawn", "Pigs Have Wings"}},
    		{"s.authorInfo.yearRange", []interface{}{[]interface{}{1890.0, 1976.0}, []interface{}{1920.0, 1992.0}, []interface{}{1881.0, 1975.0}}},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.8K bytes
    - Viewed (0)
Back to top