A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jsonquerylang/jsonquery/commit/e09aeb2f87f9f081a6734637586b72e89d89f5ab below:

#24 operators `in` and `not in` not working correctly with nulli… · jsonquerylang/jsonquery@e09aeb2 · GitHub

1 1

{

2 -

"source": "https://github.com/jsonquerylang/jsonquery/blob/v5.0.1/test-suite/compile.test.json",

3 -

"version": "5.0.1",

2 +

"source": "https://github.com/jsonquerylang/jsonquery/blob/v5.0.3/test-suite/compile.test.json",

3 +

"version": "5.0.3",

4 4

"groups": [

5 5

{

6 6

"category": "value",

1844 1844

"query": ["in", ["get", "score"], ["array", 1, 2, 5, 8]],

1845 1845

"output": false

1846 1846

},

1847 -

{

1848 -

"input": null,

1849 -

"query": ["in", 5, ["array", 1, 2, 5, 8]],

1850 -

"output": true

1851 -

}

1847 +

{ "input": null, "query": ["in", 5, ["array", 1, 2, 5, 8]], "output": true },

1848 +

{ "input": null, "query": ["in", false, ["array", true, false]], "output": true },

1849 +

{ "input": null, "query": ["in", true, ["array", true, false]], "output": true },

1850 +

{ "input": null, "query": ["in", false, ["array", true]], "output": false },

1851 +

{ "input": null, "query": ["in", true, ["array", false]], "output": false },

1852 +

{ "input": null, "query": ["in", null, ["array", 1, 2, 3]], "output": false },

1853 +

{ "input": null, "query": ["in", null, ["array", null, 1, 2, 3]], "output": true },

1854 +

{ "input": null, "query": ["in", "", ["array", "A", "", "B"]], "output": true },

1855 +

{ "input": null, "query": ["in", 0, ["array", 1, 2, 3]], "output": false },

1856 +

{ "input": null, "query": ["in", 0, ["array", 0, 1, 2, 3]], "output": true }

1852 1857

]

1853 1858

},

1854 1859

{

1914 1919

"query": ["not in", ["get", "score"], ["array", 1, 2, 5, 8]],

1915 1920

"output": true

1916 1921

},

1917 -

{

1918 -

"input": null,

1919 -

"query": ["not in", 7, ["array", 1, 2, 5, 8]],

1920 -

"output": true

1921 -

}

1922 +

{ "input": null, "query": ["not in", 7, ["array", 1, 2, 5, 8]], "output": true },

1923 +

{ "input": null, "query": ["not in", true, ["array", true, false]], "output": false },

1924 +

{ "input": null, "query": ["not in", false, ["array", true]], "output": true },

1925 +

{ "input": null, "query": ["not in", true, ["array", false]], "output": true },

1926 +

{ "input": null, "query": ["not in", null, ["array", 1, 2, 3]], "output": true },

1927 +

{ "input": null, "query": ["not in", null, ["array", null, 1, 2, 3]], "output": false },

1928 +

{ "input": null, "query": ["not in", "", ["array", "A", "", "B"]], "output": false },

1929 +

{ "input": null, "query": ["not in", 0, ["array", 1, 2, 3]], "output": true },

1930 +

{ "input": null, "query": ["not in", 0, ["array", 0, 1, 2, 3]], "output": false }

1922 1931

]

1923 1932

},

1924 1933

{


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4