Getting Started

Basics

Query Modifiers

.where() .sort()

Query Predicates

.equals() .notEquals() .exists() .notExists() .startsWith() .endsWith() .contains() .greaterThan() .lessThan() .between() .outside()

Query Executors

.read() .first() .last() .count() .sum() .average() .min() .max() .update() .delete()

Login Methods

.exists() .login() .logout()

Instance Methods

.read() .delete()

Instance Login Methods

.login() .logout() .changePassword()

Misc

Back.then() Back.saved() Back.user() Back.eachProperty() Back.eachDescendant() IFile Property LoginResult

Back.then()

Executes the specified function after all outstanding IO operations have completed. If any errors occured during the IO operations, the error argument will contain the error that occured.

var employee = new Employee();
var company = new Company();

Back.then(error =>
{
	if (!error)
	{
		// employee and company have now been written.
	}
});

Method signature (TypeScript)

then(callbackFn?: (error: Error) => void): void;

Details

callbackFn
The function to invoke.
returns
void