Description
Turn on auditing with PREPARE and SELECT EVENTS.
Prepare a statement and execute it.
curl http://localhost:8093/query/service -d "statement=prepare example as select * from system:namespaces where one=?" -u Administrator:password |
|
curl http://localhost:8093/query/service -d 'prepared="example"&args=["bar"]' |
The generated event for the SELECT statement includes neither the statement itself ("select * from system:namespaces where one=?") nor the prepared statement id ("example"). It should include one or the other, probably the statement id.