system.db.beginNamedQueryTransaction - perspective

Can the project and database be omitted in the NamedQueryTransaction.
https://docs.inductiveautomation.com/display/DOC80/system.db.beginNamedQueryTransaction
It does not state in the documentation.

java.lang.IllegalArgumentException: Project name can not be blank or missing.

It does.

Syntax - Perspective and Gateway

system.db.beginNamedQueryTransaction( project, database, [isolationLevel], [timeout])

The fact that project and database are not in [ ] brackets means they're compulsory.

2 Likes