mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-18 19:23:40 +00:00
Show records count when hydrating db
This commit is contained in:
parent
911102fbd5
commit
574c889875
@ -230,7 +230,9 @@ const defineTable = (name: string, pk: string, opts: TableOpts = {}): Table => {
|
||||
setAndNotify(initialData)
|
||||
}
|
||||
|
||||
log(`Table ${name} ready in ${Date.now() - t}ms`)
|
||||
const recordsCount = Object.keys(initialData).length
|
||||
|
||||
log(`Table ${name} ready in ${Date.now() - t}ms (${recordsCount} records)`)
|
||||
|
||||
ready.set(true)
|
||||
})()
|
||||
|
Loading…
Reference in New Issue
Block a user