Skip to content

Latest commit

 

History

History
80 lines (53 loc) · 1.5 KB

MockAggregateQueryHandler.md

File metadata and controls

80 lines (53 loc) · 1.5 KB

MockAggregateQueryHandler Class

This class is responsible for handling aggregate SOQL queries to the mock database

Since

4/13/2024

Group Soql Engine

Author Zackary Frazier

Inheritance

MockSOQLHandler

Methods

aggregateQuery(query)

Perform an aggregate query

Signature

public List<Aggregate> aggregateQuery(String query)

Parameters

Name Type Description
query String String

Return Type

List<Aggregate>

,[object Object]


aggregateQuery(query, accessLevel)

Perform an aggregate query with access level

Signature

public List<Aggregate> aggregateQuery(String query, System.AccessLevel accessLevel)

Parameters

Name Type Description
query String String
accessLevel System.AccessLevel System.AccessLevel

Return Type

List<Aggregate>

,[object Object]


aggregateQueryWithBinds(query, binds, accessLevel)

Perform an aggregate query with binds

Signature

public List<Aggregate> aggregateQueryWithBinds(String query, Map<String,Object> binds, System.AccessLevel accessLevel)

Parameters

Name Type Description
query String String
binds Map<String,Object> Map<String, Object>
accessLevel System.AccessLevel System.AccessLevel

Return Type

List<Aggregate>

,[object Object]