salesforce-queries
- A Javascript SOQL/SOSL Query Builder for the Force.com Platform
$ yarn add salesforce-queries
import { SOQL } from 'salesforce-queries';
const query = new SOQL('Account')
.select(['Id', 'Name', 'BillingCountry'])
.where('Id', '=', '001E000001KnMkTIAV')
.limit(10)
.build();
console.log(query);
// SELECT Id, Name, BillingCountry FROM Account WHERE Id = '001E000001KnMkTIAV' LIMIT 10
console.log(new SOQL('Account').build());
// SELECT Id FROM Account
Looking for new opportunities? Have a look at Mavens website!
👩🏻⚕️👨🏾⚕️