Auto Generated Code to perform database operations
No matter what technology you are using, after building each database class you can find and use auto-generated code to perform CRUD (Create, Read, Update, Delete) operations.
const MyCustomClass = Parse.Object.extend('MyCustomClassName');
const myNewObject = new MyCustomClass();
myNewObject.set('myCustomKey1Name', 'myCustomKey1Value');
myNewObject.set('myCustomKey2Name', 'myCustomKey2Value');
myNewObject.save().then(
(result) => {
if (typeof document !== 'undefined') document.write(`ParseObject created: ${JSON.stringify(result)}`);
console.log('ParseObject created', result);
},
(error) => {
if (typeof document !== 'undefined') document.write(`Error while creating ParseObject: ${JSON.stringify(error)}`);
console.error('Error while creating ParseObject: ', error);
}
);
var parseObject = PFObject(className:"MyCustomClassName")
parseObject["myCustomKey1Name"] = "My custom value"
parseObject["myCustomKey2Name"] = 999
// Saves the new object.
parseObject.saveInBackground {
(success: Bool, error: Error?) in
if (success) {
// The object has been saved.
} else {
// There was a problem, check error.description
}
}
PFObject *parseObject = [PFObject objectWithClassName:@"MyCustomClassName"];
parseObject[@"myCustomKey1Name"] = @"My custom value";
parseObject[@"myCustomKey2Name"] = @999;
[parseObject saveInBackgroundWithBlock:^(BOOL succeeded, NSError *error) {
if (succeeded) {
// The object has been saved.
} else {
// There was a problem, check error.description
}
}];
public void createObject() {
String myCustomKey1Value = "foo";
Integer myCustomKey2Value = 999;
ParseObject myNewObject = new ParseObject("MyCustomClassName");
myNewObject.put("myCustomKey1Name", myCustomKey1Value);
myNewObject.put("myCustomKey2Name", myCustomKey2Value);
// Saves the new object.
// Notice that the SaveCallback is totally optional!
myNewObject.saveInBackground(new SaveCallback() {
@Override
public void done(ParseException e) {
// Here you can handle errors, if thrown. Otherwise, "e" should be null
}
});
}
ParseObject myCustomClass = new ParseObject("MyCustomClassName");
myCustomClass["myCustomKey1Name"] = "My custom value";
myCustomClass["myCustomKey2Name"] = 999;
await myCustomClass.SaveAsync();
curl -X POST \
-H "X-Parse-Application-Id: YOUR_APPLICATION_ID" \
-H "X-Parse-REST-API-Key: YOUR_REST_API_KEY" \
-H "Content-Type: application/json" \
-d '{"myCustomKey1Name":"myCustomKey1Value","myCustomKey2Name":"myCustomKey2Value"}' \
https://parseapi.back4app.com/classes/MyCustomClassName
Performance at Scale
Back4App supports some of the world’s largest scale applications(delivering more than 20.000 requests per second in some cases) by providing consistent, fast response times at any scale. We are prepared to scale your database anytime using features like smart database index, queries optimizers, auto-scaling, automated backups, redundant storage capacity.
True Serverless
Forget about manage indexes, files, network, replica sets, database software updates, backups. With Back4App, there are no low-level configuration or setup to use your database. With a single click you create a complete hosted database with api to manipulate your data.


True Serverless
Forget about manage indexes, files, network, replica sets, database software updates, backups. With Back4App, there are no low-level configuration or setup to use your database. With a single click you create a complete hosted database with api to manipulate your data.


Enterprise Ready
We can customize a plan according to your consumption profile and provide dedicated clusters or on-premises deployment packages. On the security side, Back4App is compliant with some important worldwide security data regulations like GDPR. Additionally, we can encrypt all data by default and provides fine-grained identity and access control on all your tables.
Sign Up and start saving your data in seconds
By signing up you agree to Back4App’s Terms of Service and Privacy Policy.