Get desktop application:
View/edit binary Protocol Buffers messages
Query is a generic gRPC service for querying ORM data.
Get queries an ORM table against an unique index.
GetRequest is the Query/Get request type.
message_name is the fully-qualified message name of the ORM table being queried.
index is the index fields expression used in orm definitions. If it is empty, the table's primary key is assumed. If it is non-empty, it must refer to an unique index.
values are the values of the fields corresponding to the requested index. There must be as many values provided as there are fields in the index and these values must correspond to the index field types.
GetResponse is the Query/Get response type.
result is the result of the get query. If no value is found, the gRPC status code NOT_FOUND will be returned.
List queries an ORM table against an index.
ListRequest is the Query/List request type.
message_name is the fully-qualified message name of the ORM table being queried.
index is the index fields expression used in orm definitions. If it is empty, the table's primary key is assumed.
query is the query expression corresponding to the provided index. If neither prefix nor range is specified, the query will list all the fields in the index.
prefix defines a prefix query.
range defines a range query.
pagination is the pagination request.
ListResponse is the Query/List response type.
results are the results of the query.
pagination is the pagination response.
IndexValue represents the value of a field in an ORM index expression.
Used in:
, ,value specifies the index value
uint specifies a value for an uint32, fixed32, uint64, or fixed64 index field.
int64 specifies a value for an int32, sfixed32, int64, or sfixed64 index field.
str specifies a value for a string index field.
bytes specifies a value for a bytes index field.
enum specifies a value for an enum index field.
bool specifies a value for a bool index field.
timestamp specifies a value for a timestamp index field.
duration specifies a value for a duration index field.
Prefix specifies the arguments to a prefix query.
Used in:
values specifies the index values for the prefix query. It is valid to special a partial prefix with fewer values than the number of fields in the index.
Range specifies the arguments to a range query.
Used in:
start specifies the starting index values for the range query. It is valid to provide fewer values than the number of fields in the index.
end specifies the inclusive ending index values for the range query. It is valid to provide fewer values than the number of fields in the index.