RFeeld for primitives values, use subclass and not this one directly
:param BaseRField: [description] :type BaseRField: [type] :return: [description] :rtype: [type]
Attributes
include_in_dict_view: bool
searchable: bool
validator: Validator
Functions
Only small amount of data can be mark as searchable, defaults to False
Support primitive value, Type of Callable function
If type or callable, it will be called without parameter to initialise the default value, defaults to None
Do not mark huge fields as include in dict view, defaults to False
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
searchable | bool | False | If true, the field value is saved in the db and could be search on a request , optional |
include_in_dict_view | bool | True | If true, this field we be included in the default dict view , optional |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
r_field_value | Any |
Return type:
Any |
Return type:
Any |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
r_field_value | Any |
Return type:
Any |