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

ConstructorPlural.exists()

Checks whether the user with the specified email address exists.

Employees.exists("employee@company.com", exists =>
{
	// exists is a boolean 
});

Method signature (TypeScript)

static exists(email: string, existsFn: (exists: boolean) => void);

Details

email
A string containing the email to check.
existsFn
The function that will be called when the operation has returned. A boolean is passed to the first parameter that indicates whether a user of the originating type with the specified email address exists.
returns
void