MCPcopy Create free account
hub / github.com/LianjiaTech/fee / paddingTimeList

Function paddingTimeList

server/src/library/utils/modules/database.js:73–102  ·  view source on GitHub ↗

* 补全按时间分布的数据列表, 依照记录中index字段进行补全, 记录不存在则使用defaultRecord进行填充, index必须为时间戳 * @param {*} rawRecordList * @param {*} startAt * @param {*} endAt * @param {*} countType * @param {*} defaultRecord

(rawRecordList, startAt, endAt, countType, defaultRecord = {})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected