Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chenstarx/GoDB.js
/ functions
Functions
36 in github.com/chenstarx/GoDB.js
⨍
Functions
36
◇
Types & classes
12
↓ 17 callers
Method
getDB
* 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 callers
Method
find
(fn: TableFindFunction)
src/table.ts:228
↓ 6 callers
Method
consoleTable
(limit: number = 1000)
src/table.ts:288
↓ 6 callers
Method
table
(table: string, tableSchema?: GoDBTableSchema)
src/godb.ts:54
↓ 5 callers
Method
addMany
(data: GoDBInputData[])
src/table.ts:142
↓ 4 callers
Method
updateSchema
(schema?: GoDBSchema)
src/godb.ts:65
↓ 3 callers
Method
_openDB
(version?: number, stopUpgrade?: boolean)
src/godb.ts:206
↓ 3 callers
Method
close
()
src/godb.ts:83
↓ 3 callers
Method
findAll
(find: TableFindFunction)
src/table.ts:254
↓ 2 callers
Method
_shouldUpgrade
()
src/godb.ts:308
↓ 2 callers
Method
get
(criteria: GoDBTableSearch | number)
src/table.ts:29
↓ 2 callers
Method
getAll
(limit?: number)
src/table.ts:78
↓ 1 callers
Method
_updateObjectStore
(table: string, schema: GoDBTableSchema, transaction: IDBTransaction | null)
src/godb.ts:352
↓ 1 callers
Method
add
(data: GoDBInputData)
src/table.ts:109
↓ 1 callers
Function
adding
()
test/table/addMany.test.js:28
↓ 1 callers
Function
crud
()
test/table/find.test.js:19
↓ 1 callers
Function
crud
()
test/table/crud.test.js:19
↓ 1 callers
Function
crud
()
test/table/getAll.test.js:19
↓ 1 callers
Function
crud
()
test/table/findAll.test.js:19
↓ 1 callers
Method
delete
(criteria: GoDBTableSearch | number)
src/table.ts:200
↓ 1 callers
Method
put
(data: GoDBData)
src/table.ts:160
Function
addManyTest
(dbName)
test/table/addMany.test.js:1
Method
constructor
(name: string, schema?: GoDBSchema, config?: GoDBConfig)
src/godb.ts:28
Method
constructor
(godb: GoDBClass, name: string, schema?: GoDBTableSchema)
src/table.ts:19
Function
crudTest
(dbName)
test/table/crud.test.js:1
Method
drop
()
src/godb.ts:96
Function
findAllTest
(dbName)
test/table/findAll.test.js:1
Function
findTest
(dbName)
test/table/find.test.js:1
Function
getAllTest
(dbName)
test/table/getAll.test.js:1
Method
getDBState
()
src/godb.ts:135
Function
getDBTest
(dbName)
test/godb/getDB.test.js:1
Method
onError
(e: Event)
src/table.ts:45
Method
onSuccess
(e: Event)
src/table.ts:40
Method
putIndex
(index: string, store: IDBObjectStore, update?: boolean)
src/godb.ts:357
Method
update
()
src/table.ts:196
Method
where
()
src/table.ts:283