Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jnosql-dev] Update query to document and column type API to DSL

Update the query to both column and document to use DSL query. E.g.:

ColumnQuery query = select().from("columnFamily")
.where(condition)
.and(condition)
.orderBy(sort)
.build();

DocumentQuery query = select("document", "document2").from("documentCollection")
.where(condition)
.and(condition)
.limit(limit)
.start(start)
.orderBy(sort)
.build();

Ref: https://github.com/eclipse/jnosql-diana/issues/95

--
Otávio Gonçalves de Santana

Back to the top