Skip to main content

Basic queries

Overview

This page describes basic queries and how to create a new query policy.

Basic queries

Basic queries are read-only queries that return records to the client. A client application makes an API request to start a read-only query. This request in turn initiates parallel requests to each node in the cluster. The result returns the current version of each record to the client.

Query policies

note

The concept of short and long queries was introduced in Database 6.0. See Differences between short and long queries for more information.

Query policies can be passed on a per-request basis. Policy values can be set to create a filter expression, to determine whether bin data is included with the response, identify a short versus long query, and more.

Queries