Skip to content

beyond-the-cloud-dev/dml-lib

DML Lib logo

DML Lib

Beyond The Cloud logo

API version License GitHub Repo stars GitHub Release Codecov

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 LICENSE file similar to this one.
  • each original class should contain copyright mark: © Copyright 2025, Beyond The Cloud Sp. z o.o. (BeyondTheCloud.Dev)

About

The DML Lib provides functional constructs for DMLs in Apex.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •