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.
This is an introductory post for a very broad feature – injecting custom server-side logic into Backendless. There are a lot of smaller features in Cloud Code (also known as Custom Business Logic), but it’s worth it to start with a general overview.
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.
In another post, we described a feature for conditional pub/sub message delivery using SQL selectors. With that (selector) approach, the publisher must attach headers to the message and the subscriber uses an SQL-based condition that references header names and values. In addition to selectors, Backendless supports another type of conditional delivery – subtopics.
The Backendless Geoservice supports a variety of ways to search for geopoints. So far we have reviewed how to search for geopoints in a radius or a rectangular area. There is also a partial match geopoint search. In addition to that, Backendless Console provides yet another way to search for data – the cross-category search….
In addition to the app development APIs, we also make available a very rich set of administrative and management functions. Every single feature available in Backendless Console is also available via specialized REST API. Whether it is performing a data import/export, setting up database schema, or retrieving application’s analytics – all of these can be…
Backendless file storage includes a very powerful (and quite convenient) integration with git. There are many features that come with that integration and we will be describing them in detail in this and future posts.
In another post, we described how to upload files to Backendless file storage using File Service API. In addition to the file upload API, Backendless Console supports online (built into the Console) text editing.
There will often be times when you want to delete users from your database, whether it’s to purge old users or to allow users to delete their own account. Backendless supports two methods for deleting a user: using the API or using Backendless Console. The API approach is described using the code below.