Patent ID: 11934397
Assignee: SALESFORCE, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. A method, comprising:
sending, by an application to a query parser, a first instance of a query requesting data for a first entity from a multi-tenant database, wherein the query includes a constraint that restricts how a query optimizer implements a clause within the query;
receiving, by the application, first query results for the first instance of the query, wherein the first query results are determined using a modified version of the query and a first execution plan selected by the query optimizer, wherein the modified version of the query is selected in response to determining that an override to modify the constraint is specified for the first entity;
sending, by the application to the query parser, a second instance of the query requesting data for a second entity from the multi-tenant database; and
receiving, by the application, second query results for the second instance of the query, wherein the second query results are determined using the query, without modification, and a second execution plan selected by the query optimizer, wherein the query is used in response to determining that no query override has been specified for the second entity.