Skip to content

beyond-the-cloud-dev/dml-lib

Repository files navigation

DML Lib (Beta)

SOQL Lib logo

DML Lib

Beyond The Cloud logo API version License

CI codecov

Getting Started

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

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();

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 (Beta) provides functional constructs for DMLs in Apex.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •