Skip to content
Query-farmPublic

About

TSID Extension for DuckDB

Resources

Stars

7 stars

Watchers

2 watching

Forks

Repository files navigation

Query.Farm

DuckDB TSID Community Extension

DuckDB v1.5 build

This extension adds support for Time-Sorted Unique Identifiers (TSID).

Experimental: USE AT YOUR OWN RISK!

Documentation

Full documentation, including installation, usage, the function reference, and cookbook examples, is available at:

https://query.farm/products/extensions/tsid

Installation

INSTALL tsid FROM community;
LOAD tsid;

Generation and ordering

tsid() takes no arguments; there is no seed overload. Use ORDER BY when the query output must be sorted:

SELECT tsid() AS id FROM range(100) ORDER BY id;

The timestamp prefix supports time-based sorting, but IDs do not establish a strict insertion or commit order across concurrent producers or clock changes. Store an explicit sequence or application timestamp when that order is required.

About

TSID Extension for DuckDB

Resources

Stars

7 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages