Home  >  Article  >  What is "query" in the virtual list view control specification?

What is "query" in the virtual list view control specification?

WBOY
WBOYforward
2024-02-09 14:51:08845browse

php editor Yuzai wants to introduce to you today what "query" is in the virtual list view control specification. In a virtual list view control, a query is an operation used to obtain specific data from a data source. Through queries, we can filter data according to specified conditions to display content that meets the conditions in the list view. This query operation can improve the efficiency of data retrieval and enable users to find the required information more quickly and accurately. Below, we will introduce in detail the query operation in the virtual list view control specification and its common functions and usage.

Question content

I am reading the virtual list view control specification

One more sentence

contextid values have no validity outside     the connection and query
with which they were received. a client must     not submit a
contextid which it received from a different connection,     a
different query, or a different server.

I use unboundid library:

public SearchRequest(@NotNull final String baseDN,
                     @NotNull final SearchScope scope,
                     @NotNull final Filter filter,
                     @Nullable final String... attributes)

If I have 2 searchrequests, they only differ in attributes. Does this mean the query is different?

Workaround

searchrequests will be different.

I'm not sure what you need to determine.

As mentioned above:

Also, unboundid-ldap-sdk has very detailed documentation, often with examples . The settings are as follows:

asn1octetstring vlvcontextid = null;

and include it in any subsequent requests related to the same list.

The searchrequest will be submitted to the ldap server and you will receive the searchresponse.

The "filter" is part of the searchrequest and may look like:

"dc=example,dc=com"

Likewise, there are examples for search requests .

ldap Query is an abstract term that requires an agreed upon connotation.

Most people probably associate ldap queries with the collection of ldap filter parameters and ldap operators: (&(objectclass=user)(sn=smith))

A searchrequest contains 10-11 possible effects on the searchresult even if the filters are the same.

The above is the detailed content of What is "query" in the virtual list view control specification?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:stackoverflow.com. If there is any infringement, please contact admin@php.cn delete