use of org.jnosql.diana.api.column.query.ColumnDeleteFrom in project jnosql-artemis by eclipse.
the class DefaultColumnMapperDeleteBuilderTest method shouldReturnDeleteFrom.
@Test
public void shouldReturnDeleteFrom() {
ColumnDeleteFrom columnFrom = mapperBuilder.deleteFrom(Person.class);
ColumnDeleteQuery query = columnFrom.build();
ColumnDeleteQuery queryExpected = ColumnQueryBuilder.delete().from("Person").build();
assertEquals(queryExpected, query);
}
use of org.jnosql.diana.api.column.query.ColumnDeleteFrom in project jnosql-artemis by eclipse.
the class DefaultColumnQueryMapperBuilderTest method shouldReturnDeleteFrom.
@Test
public void shouldReturnDeleteFrom() {
ColumnDeleteFrom columnDeleteFrom = mapperBuilder.deleteFrom(Person.class);
assertNotNull(columnDeleteFrom);
}
Aggregations