Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for publicationHistory (0.12 seconds)

  1. internal/s3select/sql/jsondata/books.json

    {
        "title": "Murder on the Orient Express",
        "authorInfo": {
            "name": "Agatha Christie",
            "yearRange": [1890, 1976],
            "penName": "Mary Westmacott"
        },
        "genre": "Crime novel",
        "publicationHistory": [
            {
                "year": 1934,
                "publisher": "Collins Crime Club (London)",
                "type": "Hardcover",
                "pages": 256
            },
            {
                "year": 1934,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  2. internal/s3select/sql/jsonpath_test.go

    		{"s.authorInfo.name", []any{"Agatha Christie", "Isaac Asimov", "P. G. Wodehouse"}},
    		{"s.authorInfo.yearRange[0]", []any{1890.0, 1920.0, 1881.0}},
    		{"s.publicationHistory[0].pages", []any{256.0, 336.0, Missing{}}},
    	}
    	for i, tc := range cases {
    		t.Run(tc.str, func(t *testing.T) {
    			jp := JSONPath{}
    			err := p.ParseString(tc.str, &jp)
    			// fmt.Println(jp)
    			if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top