MCPcopy Create free account
hub / github.com/effect-app/libs / Table

Class Table

repos/effect/packages/platform-browser/test/IndexedDbTable.test.ts:7–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5describe("IndexedDbTable", () => {
6 it("make", () => {
7 class Table extends IndexedDbTable.make({
8 name: "todo",
9 schema: Schema.Struct({
10 id: Schema.Number,
11 title: Schema.String,
12 completed: Schema.Boolean
13 }),
14 keyPath: "id"
15 }) {}
16
17 assert.equal(Table.tableName, "todo")
18 assert.equal(Table.autoIncrement, false)

Callers

nothing calls this directly

Calls 1

makeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…