Menu
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version
Publication date

Mar 9, 2022

Confidentiality
Public
Reactions
1
Share

EnumField

This class enable an Enum like field for Peewee

Functions
__init__

Initialize self. See help(type(self)) for accurate signature.

choices : type
max_length : int - 255
adapt
value : Any
alias
alias : Any
asc
collation : Any
nulls : Any
between
lo : Any
hi : Any
bin_and
rhs : Any
bin_or
rhs : Any
bind
model : Any
name : Any
set_attribute : bool - True
bind_to
dest : Any
cast
as_type : Any
clone
coerce
_coerce : bool - True
collate
collation : Any
concat
rhs : Any
contains
rhs : Any
converter
db_value
value : Any
Return type : Any
ddl
ctx : Any
ddl_datatype
ctx : Any
desc
collation : Any
nulls : Any
distinct
endswith
rhs : Any
get_modifiers
get_sort_key
ctx : Any
ilike
rhs : Any
in_
rhs : Any
iregexp
rhs : Any
is_alias
is_null
is_null : bool - True
like
rhs : Any
not_in
rhs : Any
python_value
value : Any
Return type : Any
regexp
rhs : Any
startswith
rhs : Any
to_value
value : Any
unalias
unwrap
copy @staticmethod
method : Any
Shine Logo
Technical bricks to reuse or customize

Have you developed a brick?

Share it to accelerate projects for the entire community.