Skip to content

Repository files navigation

Getting Started

The DML Lib provides functional constructs for DML statements in Apex.

DML Lib is part of Apex Fluently, a suite of production-ready Salesforce libraries by Beyond the Cloud.

For more details, please refer to the documentation.

Insert DML

new DML()
    .toInsert(new Account(Name = 'My Account'))
    .commitWork();

Update DML

Account account = [SELECT Id FROM Account LIMIT 1];

new DML()
    .toUpdate(new Account(Id = account.Id, Name = 'New Name'))
    .commitWork();

Deploy to Salesforce

Deploy to Salesforce

Documentation

Visit the documentation to view the full documentation.

Contributors

License notes:

  • For proper license management each repository should contain a LICENSE file similar to this one.
  • Each original class should contain a copyright mark: © Copyright 2026, Beyond The Cloud Sp. z o.o. (BeyondTheCloud.Dev)

About

The DML Lib provides functional constructs for DMLs in Apex.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

29 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages