Generic Find Function For Enabling Cursor-Based Pagination
개요
발명자
Chen Gao; Guangkun Li
IPC 분류
CPC 분류
Techniques for enabling cursor-based navigation of query results for any set of database records are described herein. One or more embodiments provide a generic find function for database applications, particularly, to facilitate cursor-based pagination of any query results. The generic find function returns, to the application, both a cursor object that points to a set of query results and a token for tracking the cursor's position while the application user navigates the query results. Specifically, the generic find function is part of an application framework that accepts, as input, a search parameter from an application user and identifies an appropriate pre-defined filter and a set of database-agnostic query parameters that map to the search parameter. The appropriate pre-defined filter may include a matching filter field value. The database application then calls the generic find function to build a query using the pre-defined filter and the set of query parameters.
원문 (중국어)
Techniques for enabling cursor-based navigation of query results for any set of database records are described herein. One or more embodiments provide a generic find function for database applications, particularly, to facilitate cursor-based pagination of any query results. The generic find function returns, to the application, both a cursor object that points to a set of query results and a token for tracking the cursor's position while the application user navigates the query results. Specifically, the generic find function is part of an application framework that accepts, as input, a search parameter from an application user and identifies an appropriate pre-defined filter and a set of database-agnostic query parameters that map to the search parameter. The appropriate pre-defined filter may include a matching filter field value. The database application then calls the generic find function to build a query using the pre-defined filter and the set of query parameters.