use of ai.grakn.graql.InsertQuery in project grakn by graknlabs.
the class AdminTest method testInsertQueryGetVars.
@Test
public void testInsertQueryGetVars() {
InsertQuery query = qb.insert(var().id(ConceptId.of("123")).isa("movie"), var().id(ConceptId.of("123")).val("Hi"));
// Should not merge variables
assertEquals(2, query.admin().varPatterns().size());
}
Aggregations