Skip to content

API: Overview

Adrian Preuß edited this page Jan 10, 2018 · 3 revisions

Following Methods are available:

Global Operations

Method Description Details
API.setConnection(domain, secured); Set the Endpoint for connection Informations
API.getEndpoint(); Returns the current Endpoint as String Not Available
API.canAccess(); Returns Boolean value if the current Endpoint is accessible by the AppServer Not Available

Database Operations

Method Description Details
API.single(statement, parameters, callback); Get a single result from an table Informations
API.fetch(statement, parameters, callback); Get a list result from an table Informations
API.count(statement, parameters, callback); Count results from an table Informations
API.update(table, reference, parameters, callback); Update entries/rows from an table Informations
API.remove(table, parameters, callback); Remove entries/rows from an table Informations
API.insert(table, parameters, callback); Insert a new entrie/row on an table Informations