Hello,
Thanks for posting to the Telerik Developer Forums.
The common way in modern mobile apps is to connect to your database server via web services. For instance, using the correct OrientDB driver for your preferred server language (as shown
here) you can create a set of web services and deploy them to a web server. Use these services to expose the required data from the database and secure the authentication from the mobile app.
From NativeScript you can use the
HTTP module to invoke an HTTP request to the server and fetch the required data from it. More on this module is available
here.
If you have further questions on using the NativeScript modules from the NativeScript CLI, you can also post to the GitHub project
here.
Regards,
Anton Dobrev
Telerik