AnalyticsDefault#

from tmlt.analytics import AnalyticsDefault
class tmlt.analytics.AnalyticsDefault#

Bases: object

Default values for each type of column in Tumult Analytics.

INTEGER = 0#

The default value used for integers (0).

DECIMAL = 0.0#

The default value used for floats (0).

VARCHAR = ''#

The default value used for VARCHARs (the empty string).

DATE = datetime.date(1970, 1, 1)#

The default value used for dates (datetime.date.fromtimestamp(0)).

See fromtimestamp().

TIMESTAMP = datetime.datetime(1970, 1, 1, 0, 0)#

The default value used for timestamps (datetime.datetime.fromtimestamp(0)).

See fromtimestamp().