Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/console
/ id
Function
id
packages/core/src/util/sql.ts:7–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
export
const
cuid = (name: string) => char(name, { length: 24 });
6
export
const
id = {
7
get id() {
8
return
cuid(
"id"
).primaryKey().notNull();
9
},
10
};
11
12
export
const
workspaceID = {
Callers
nothing calls this directly
Calls
1
cuid
Function · 0.70
Tested by
no test coverage detected