hyle_query_t(3)libhyle

NAME

hyle_query_t - Parsed view state: sort, page and filter options.

SYNOPSIS

#include <query.h>

Data Fields

const char * sort_field
bool sort_asc
uint32_t page
uint32_t per_page
const char * q
hyle_field_filter_t * filters
unsigned filter_count
const char ** include
unsigned include_count

Detailed Description

Parsed view state: sort, page and filter options.

Field Documentation

unsigned hyle_query_t::filter_count

Number of entries in filters.

hyle_field_filter_t* hyle_query_t::filters

Per-field filters to apply (ANDed across fields).

const char** hyle_query_t::include

Field names requested for inclusion.

unsigned hyle_query_t::include_count

Number of entries in include.

uint32_t hyle_query_t::page

One-based page number; 0 disables pagination.

uint32_t hyle_query_t::per_page

Rows per page; 0 disables pagination.

const char* hyle_query_t::q

Free-text search term, or NULL when absent.

bool hyle_query_t::sort_asc

Non-zero for ascending sort order.

const char* hyle_query_t::sort_field

Field name to sort by, or NULL for no sort.

Author

Generated automatically by Doxygen for libhyle from the source code.