posterize v0.12.1 posterize_xt_integer_time
a posterize time extension compatible with the erlang system time apis
Summary
Functions
decodes a postgres time
or time_tz
type into an erlang system time
encodes erlang system time into the postgres time
or timetz
type
Callback implementation for Postgrex.Extension.format/1
Callback implementation for Postgrex.Extension.init/2
Callback implementation for Postgrex.Extension.matching/1
Functions
decodes a postgres time
or time_tz
type into an erlang system time
this always returns time in native
units. use erlang:convert_time_unit/3
to convert to other units
Callback implementation for Postgrex.Extension.format/1
.
Callback implementation for Postgrex.Extension.init/2
.
Callback implementation for Postgrex.Extension.matching/1
.