R.apex

  • Docs
  • Tutorials
Docs Menu
  • Func
  • R.Funcs
    • Conversion Funcs
    • Arithmetic Funcs
    • Logic Funcs
    • Relation Funcs
    • Function Funcs
    • Comparator Funcs
    • Condition Funcs
    • List Funcs
    • String Funcs
    • Map Funcs
    • Utility Funcs
    • Database Funcs
  • R.Instance
    • Creation Methods
    • Conversion Methods
    • Methods

Database Funcs Guide

Database Funcs in R

dbInsert

Insert SObject(s) into database

Account acc = ...;
R.dbInsert.run(acc);

dbUpdate

Update SObject(s) into database

Account acc = ...;
R.dbUpdate.run(acc);

dbDelete

Delete SObject(s) from database

Account acc = ...;
R.dbDelete.run(acc);

dbQuery

Query SObject(s) from database

String query = '...':
R.dbQuery.run(query);

Contribute on Github! Edit this section.