Snowflake v0.0.1 Snowflake.Helper
The Helper module helps users work with snowflake IDs.
Helper module can do the following:
- Deriving timestamp based on ID
- Creating buckets based on days since epoch…
Summary
Functions
When no id is provided, we generate a bucket for the current time
Get bucket value based on segments of N days
Get timestamp in ms from epoch from any snowflake ID
Functions
When no id is provided, we generate a bucket for the current time
Get bucket value based on segments of N days