| CPC G06F 16/2455 (2019.01) [G06F 9/541 (2013.01); G06F 16/24542 (2019.01); G06F 16/248 (2019.01)] | 19 Claims |

|
1. A method comprising:
obtaining, by a computer system, using a query language specification for an Application Programming Interface (API) and a server-side runtime for executing queries, an API schema comprising a set of one or more object types, an object type in the set of one or more object types comprising a set of one or more fields associated with the object type;
for an object type in the set of object types, generating, by the computer system, a filter input object for the object type for performing a filtering operation on the object type, the filter input object comprising a set of object attributes, an object attribute in the set of object attributes corresponding to a field in the set of one or more fields associated with the object type;
for an object attribute in the set of object attributes, generating, by the computer system, a filter input object datatype for the object attribute, wherein the filter input object datatype for the object attribute is specific to a datatype of the field of the object type corresponding to the object attribute;
for the filter input object for the object type, generating, by the computer system, an expression attribute for the filter input object and a logical attribute for the filter input object;
generating, by the computer system, a query object type for the object type, the query object type identifying a query operation to be performed on the object type, the query operation comprising a filter input variable that identifies the filter input object associated with the object type for performing the filtering operation on the object type;
providing, by the computer system, the API schema comprising the set of one or more object types, the filter input object associated with the object type, the filter input object datatype associated with the object attribute and the query object associated with the object type, via a user interface associated with the computer system;
receiving, by the computer system, a query request, the query request identifying the query operation to be performed on the object type, the query operation comprising the filter input variable, the filter input variable identifying at least a first expression and a second expression to be evaluated by the query operation, the first expression and the second expression defined using the expression attribute defined in the filter input object associated with the object type;
executing, by the computer system, the query request against a backend datasource to obtain a query result; and
transmitting, by the computer system, the query result via the user interface associated with the computer system.
|