New Release Featuring Spatial Data and Console Visibility Controls
We are excited to announce a new release for the Backendless platform as we approach the release of Version 6.0. Available now, Release 5.7.0 includes two powerful new features: spatial data and console visibility controls. Read on to learn more. We previewed the new Geolocation feature in our 2019 year-end post; the other is a…

How to Create Custom Mapping Between Data Tables and Client Classes

In another post, we describe how data tables in Backendless map to the client-side classes whose instances contain persisted data objects. However, there are scenarios when the default mapping is undesirable. In that case, Backendless client libraries provide an API to override the mapping.

How to Load the Last Object From a Data Table Using API

In another article, we wrote how to load the first object from a data table using API. For the purpose of symmetry (and out of common sense), there is also an API to load the last object from a data table in your Backendless Database. The last object is determined by the time when it is…

How to Retrieve Database/Table Schema Using API

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.

How to Search Data Objects by Distance From a Location

In another article, we described how a data object may have a related geopoint (or a collection of geopoints). One of the benefits of data-to-geo relationships is search by distance. That means Backendless can search for data objects using the location of the related geopoints.

How to Load Data Objects With Related Geopoints Using API

In other articles, we have covered: how to declare a geo-to-data relationship in a data table schema and how to create relationships between an object in that schema and geopoints. Of course, both of the operations above can also be accomplished with the API. In this post, we are going to show how to retrieve…

How to Load Data Objects From the Server With an SQL Query

In other articles, we have reviewed multiple techniques for loading data objects from persistent server-side storage. There is a list of all articles categorized by topic. In this post, we are going to review the API for loading data objects using an SQL query.

How to Delete Persistent Objects Using Data Service API

Deleting an object in your Backendless Database using the Data Service API is just as easy as creating or updating one. If an object has relations, they are broken up and the related objects are not deleted. The sample below retrieves the first object from a table and deletes it.

How to Load Data Objects From the Server With Sorting

In another Recipe article, we discussed how to load data from the Backendless mbaas server using paging. In fact, data paging is only one of the features available in the data loading API. In this post, we are going to show how to fetch data objects with sorting. The sorting option can be combined with…

How to Load the First Object From a Data Table Using API

There is an API for loading the very first object created in the table. The first object is determined by the value in the created column – Backendless Database picks the one with the smallest timestamp.