How to get the result of a system query in a web app


I'm building a web app using Node js and express.
I'm able to get the result of queries using rest api and javascript driver but
I want to kwow how to get the result of a query on system database using these methods.
Find attach the code that I used to execute my queries on the other databases.


You need to connect to the system database when you create your session, passs in the database name here.

Thanks , but I've done it.
My problem is how to get the result of a query in a system database. In my default database, I use record._fields[0].properties.property_name to get a property from the database. I run a query to get users and roles from the system database but I don't know how to get and use it in my code.

Run eg show users
As a command