Back to bricks list
Introduction
Technical Documentation
Other Classes
DateTimeUTC
Version

DateTimeUTC

Custom Datetime DB field to convert dae to UTC before saving it and return date as UTC when getting the DB

Functions

__INIT__

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

Parameters:
NameTypeDefault valueDescription
with_millisecondsbool False
ADAPT
Parameters:
NameTypeDefault valueDescription
valueAny
ALIAS
Parameters:
NameTypeDefault valueDescription
aliasAny
ASC
Parameters:
NameTypeDefault valueDescription
collationAny
nullsAny
BETWEEN
Parameters:
NameTypeDefault valueDescription
loAny
hiAny
BIN_AND
Parameters:
NameTypeDefault valueDescription
rhsAny
BIN_OR
Parameters:
NameTypeDefault valueDescription
rhsAny
BIND
Parameters:
NameTypeDefault valueDescription
modelAny
nameAny
set_attributebool True
BIND_TO
Parameters:
NameTypeDefault valueDescription
destAny
CAST
Parameters:
NameTypeDefault valueDescription
as_typeAny
CLONE
COERCE
Parameters:
NameTypeDefault valueDescription
_coercebool True
COLLATE
Parameters:
NameTypeDefault valueDescription
collationAny
CONCAT
Parameters:
NameTypeDefault valueDescription
rhsAny
CONTAINS
Parameters:
NameTypeDefault valueDescription
rhsAny
CONVERTER
DB_VALUE
Parameters:
NameTypeDefault valueDescription
valueAny
DDL
Parameters:
NameTypeDefault valueDescription
ctxAny
DDL_DATATYPE
Parameters:
NameTypeDefault valueDescription
ctxAny
DESC
Parameters:
NameTypeDefault valueDescription
collationAny
nullsAny
DISTINCT
ENDSWITH
Parameters:
NameTypeDefault valueDescription
rhsAny
GET_MODIFIERS
GET_SORT_KEY
Parameters:
NameTypeDefault valueDescription
ctxAny
ILIKE
Parameters:
NameTypeDefault valueDescription
rhsAny
IN_
Parameters:
NameTypeDefault valueDescription
rhsAny
IREGEXP
Parameters:
NameTypeDefault valueDescription
rhsAny
IS_ALIAS
IS_NULL
Parameters:
NameTypeDefault valueDescription
is_nullbool True
LIKE
Parameters:
NameTypeDefault valueDescription
rhsAny
NOT_IN
Parameters:
NameTypeDefault valueDescription
rhsAny
PYTHON_VALUE
Parameters:
NameTypeDefault valueDescription
valueAny
REGEXP
Parameters:
NameTypeDefault valueDescription
rhsAny
STARTSWITH
Parameters:
NameTypeDefault valueDescription
rhsAny
TO_TIMESTAMP
TO_VALUE
Parameters:
NameTypeDefault valueDescription
valueAny
TRUNCATE
Parameters:
NameTypeDefault valueDescription
partAny
UNALIAS
UNWRAP
COPY - @staticmethod
Parameters:
NameTypeDefault valueDescription
methodAny