Socket
Book a DemoInstallSign in
Socket

salesforce-queries

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

salesforce-queries

A JavaScript SOQL/SOSL Query Builder for the Salesforce Platform, written in TypeScript

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

salesforce-queries

Build Status Coverage Status npm version Tested with Jest License: MIT

salesforce-queries - A Javascript SOQL/SOSL Query Builder for the Force.com Platform

Installation

$ yarn add salesforce-queries

Example

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

References


Looking for new opportunities? Have a look at Mavens website!
👩🏻‍⚕️👨🏾‍⚕️

FAQs

Package last updated on 04 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts