Skip to content

Commit 393f9b6

Browse files
author
Otavio Santana
committed
Improves documentation at orientdb
1 parent dd839bc commit 393f9b6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

orientdb-driver/src/main/java/org/jnosql/diana/orientdb/document/OrientDBDocumentCollectionManager.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,14 @@ public List<DocumentEntity> find(DocumentQuery query) throws NullPointerExceptio
125125
}
126126
}
127127

128+
/**
129+
* Find using query
130+
*
131+
* @param query the query
132+
* @param params the params
133+
* @return the query result
134+
* @throws NullPointerException when either query or params are null
135+
*/
128136
public List<DocumentEntity> find(String query, Object... params) throws NullPointerException {
129137
requireNonNull(query, "query is required");
130138
try (ODatabaseDocumentTx tx = pool.acquire()) {

0 commit comments

Comments
 (0)