Subscribe rss
Blog categories
All | Backendless features
Feature 90: Retrieving database/table schema using API
April 8, 2015 by markpiller

Backendless provides an easy to use API to introspect data tables. Given a table name, the API provides information about table columns, their names, data types, default values, etc. If a column represents a relationship, it is properly denoted as such in the provided information.

Consider the following data table. The table name is Person as it is indicated in the upper right corner:

The following code retrieves the schema information for the table:

Asynchronous API sample (Android and Plain Java):

Synchronous API sample (Plain Java only):

The code produces the following output:

Share this post
Tweet about this on TwitterShare on FacebookGoogle+