This class is responsible for handling record SOQL queries to the mock database
Since
4/12/2024
Group Soql Engine
Author Zackary Frazier
Inheritance
SUPPRESSWARNINGS
Used internally, do not use this method
public List<SObject> doQuery(Node selectNode, Map<String,Object> params)
Name | Type | Description |
---|---|---|
selectNode | Node | The select node |
params | Map<String,Object> | The query parameters |
List<SObject>
The query results
QueryException: If the query is invalid
Query the database for records
public List<SObject> query(String query)
Name | Type | Description |
---|---|---|
query | String | String |
List<SObject>
,[object Object]
Query the database for records, with access level
public List<SObject> query(String query, System.AccessLevel accessLevel)
Name | Type | Description |
---|---|---|
query | String | String |
accessLevel | System.AccessLevel | System.AccessLevel |
List<SObject>
,[object Object]
Query the database for records, with binds
public List<SObject> queryWithBinds(String query, Map<String,Object> binds, System.AccessLevel accessLevel)
Name | Type | Description |
---|---|---|
query | String | String |
binds | Map<String,Object> | Map<String, Object> |
accessLevel | System.AccessLevel | System.AccessLevel |
List<SObject>
,[object Object]