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

instance.changePassword()

Changes the password of the user instance. If the user instance is not logged in, and error is generated. Only available when the constructor has at least one authentication method enabled in the editor.

employee.changePassword("new-password", () =>
{
	// Password now changed.
});

Method signature (TypeScript)

changePassword(newPassword: string, completeFn?: () => void)

Details

newPassword
A string containing the new password to set.
completeFn
An optional function to invoke after the object has been read into memory. The parameter passed to the function is a reference to the loaded object.
returns
void