Search builder that support search on tags
:param SearchBuilder: description :type SearchBuilder: type
Attributes
entity_type: EntityType
Functions
Create a search build to make dynamic search
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
expression | Expression |
Return type:
SearchBuilderType |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
table | Type | ||
on | Expression |
Return type:
SearchBuilderType |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
order | Ordering |
Return type:
SearchBuilderType |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
search | SearchParams |
Return type:
SearchBuilderType |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
tag | Tag | ||
value_operator | SearchOperator | SearchOperator.EQ | |
error_if_key_not_exists | bool | False |
Return type:
SearchBuilderType |
Return type:
ModelSelect |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
filter_ | SearchFilterCriteria |
Return type:
Expression |
Convert a search order criteria to a peewee ordering
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
order | SearchSortCriteria |
Return type:
Ordering |
Method to convert the search value (or values) to type of field
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
field | Field | ||
value | Any |
Return type:
Any |
Return type:
List |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
page | int | 0 | |
number_of_items_per_page | int | 20 |
Return type:
Paginator |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
orders | List |
Return type:
SearchBuilderType |