MCPcopy Create free account

hub / github.com/chenstarx/GoDB.js / functions

Functions36 in github.com/chenstarx/GoDB.js

↓ 17 callersMethodgetDB
* It is necessary to get `IDBDatabase` instance (`this.idb`) before * table operations like table.add(), table.get(), etc. * that's why a `get
src/godb.ts:176
↓ 7 callersMethodfind
(fn: TableFindFunction)
src/table.ts:228
↓ 6 callersMethodconsoleTable
(limit: number = 1000)
src/table.ts:288
↓ 6 callersMethodtable
(table: string, tableSchema?: GoDBTableSchema)
src/godb.ts:54
↓ 5 callersMethodaddMany
(data: GoDBInputData[])
src/table.ts:142
↓ 4 callersMethodupdateSchema
(schema?: GoDBSchema)
src/godb.ts:65
↓ 3 callersMethod_openDB
(version?: number, stopUpgrade?: boolean)
src/godb.ts:206
↓ 3 callersMethodclose
()
src/godb.ts:83
↓ 3 callersMethodfindAll
(find: TableFindFunction)
src/table.ts:254
↓ 2 callersMethod_shouldUpgrade
()
src/godb.ts:308
↓ 2 callersMethodget
(criteria: GoDBTableSearch | number)
src/table.ts:29
↓ 2 callersMethodgetAll
(limit?: number)
src/table.ts:78
↓ 1 callersMethod_updateObjectStore
(table: string, schema: GoDBTableSchema, transaction: IDBTransaction | null)
src/godb.ts:352
↓ 1 callersMethodadd
(data: GoDBInputData)
src/table.ts:109
↓ 1 callersFunctionadding
()
test/table/addMany.test.js:28
↓ 1 callersFunctioncrud
()
test/table/find.test.js:19
↓ 1 callersFunctioncrud
()
test/table/crud.test.js:19
↓ 1 callersFunctioncrud
()
test/table/getAll.test.js:19
↓ 1 callersFunctioncrud
()
test/table/findAll.test.js:19
↓ 1 callersMethoddelete
(criteria: GoDBTableSearch | number)
src/table.ts:200
↓ 1 callersMethodput
(data: GoDBData)
src/table.ts:160
FunctionaddManyTest
(dbName)
test/table/addMany.test.js:1
Methodconstructor
(name: string, schema?: GoDBSchema, config?: GoDBConfig)
src/godb.ts:28
Methodconstructor
(godb: GoDBClass, name: string, schema?: GoDBTableSchema)
src/table.ts:19
FunctioncrudTest
(dbName)
test/table/crud.test.js:1
Methoddrop
()
src/godb.ts:96
FunctionfindAllTest
(dbName)
test/table/findAll.test.js:1
FunctionfindTest
(dbName)
test/table/find.test.js:1
FunctiongetAllTest
(dbName)
test/table/getAll.test.js:1
MethodgetDBState
()
src/godb.ts:135
FunctiongetDBTest
(dbName)
test/godb/getDB.test.js:1
MethodonError
(e: Event)
src/table.ts:45
MethodonSuccess
(e: Event)
src/table.ts:40
MethodputIndex
(index: string, store: IDBObjectStore, update?: boolean)
src/godb.ts:357
Methodupdate
()
src/table.ts:196
Methodwhere
()
src/table.ts:283