Skip to main content

Snowflake Distributed ID Generator

· One min read
TeaQL Code Gen
Core Contributor

The teaql-snowflake module brings distributed unique ID generation.

Snowflake IDs

+ teaql-snowflake: distributed unique ID generation
+ 64-bit IDs: timestamp + worker node + sequence

Features:

  • Globally unique without coordination
  • Time-ordered for index-friendly storage
  • Configurable worker node IDs

Enhance Children

Automatically load and enrich child collections when querying parent entities:

+ Auto-enrich child collections
+ Recursive enhancement support
+ Fix: enhanced children handle update operations correctly

MSSQL ALTER TABLE

  • ALTER TABLE column support
  • ADD COLUMN SQL generation
  • Order by ID when paging without explicit sort