Skip to content

Commit f5c1b30

Browse files
committed
add javadoc for newServerEval()
1 parent 48eef62 commit f5c1b30

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/com/marklogic/client/DatabaseClient.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,5 +178,13 @@ public <T extends ResourceManager> T init(String resourceName, T resourceManager
178178
* @return the object implementing communication with the server
179179
*/
180180
public Object getClientImplementation();
181+
182+
/**
183+
* Creates a ServerEvaluationCall for eval and invoke of server-side xquery or
184+
* javascript code. Eval requires the xdbc:eval privilege and invoke requires the
185+
* xdbc:invoke privilege. If this DatabaseClient is pointed at a database different
186+
* than the default for this REST server, you will need the xdbc:eval-in or xdbc:invoke-in
187+
* privilege.
188+
*/
181189
public ServerEvaluationCall newServerEval();
182190
}

0 commit comments

Comments
 (0)