We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
has
this.sqlgGraph.getTopology().getPublicSchema().ensureVertexLabelExist( "TestHierarchy", new LinkedHashMap<String, PropertyType>() {{ put("column1", PropertyType.STRING); put("column2", PropertyType.STRING); put("name", PropertyType.STRING); }}, ListOrderedSet.listOrderedSet(Arrays.asList("column1", "column2")) ); this.sqlgGraph.tx().commit(); this.sqlgGraph.addVertex(T.label, "TestHierarchy", "column1", "a1", "column2", "a2", "name", "name1"); this.sqlgGraph.addVertex(T.label, "TestHierarchy", "column1", "b1", "column2", "b2", "name", "name1"); this.sqlgGraph.addVertex(T.label, "TestHierarchy", "column1", "c1", "column2", "c2", "name", "name1"); this.sqlgGraph.addVertex(T.label, "TestHierarchy", "column1", "d1", "column2", "d2", "name", "name1"); this.sqlgGraph.tx().commit(); List<String> values1 = Collections.singletonList(""); List<String> values2 = Collections.singletonList(""); List<Vertex> vertexList = this.sqlgGraph.traversal().V() .hasLabel("TestHierarchy") .has("column1", P.within(values1)) .has("column2", P.within(values2)) .toList(); Assert.assertEquals(0, vertexList.size()); values1 = Arrays.asList("a1", "b1", "c1"); values2 = Arrays.asList("a2", "b2", "c2"); vertexList = this.sqlgGraph.traversal().V() .hasLabel("TestHierarchy") .has("column1", P.within(values1)) .has("column2", P.within(values2)) .toList(); Assert.assertEquals(3, vertexList.size());
Above queries breaks. The where clause is not being set correctly.
The text was updated successfully, but these errors were encountered:
3a4c3ac
fix #344
ff5d5c6
Correct incorrect logic for generating where clauses.
pietermartin
No branches or pull requests
Above queries breaks. The where clause is not being set correctly.
The text was updated successfully, but these errors were encountered: