Methods
WDataSourceFromCsv(fd) → {EventEmitter}
- Description:
檔案CSV來源數據供給器
- Source:
Parameters:
Name | Type | Description |
---|---|---|
fd |
string | 要監控的資料夾路徑 |
Returns:
- 具有 select 方法的事件發射器
- Type
- EventEmitter
WDataSyncer(src, tar, opt) → {EventEmitter}
- Description:
資料單向同步程序
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src |
Object | 資料來源,需提供 select 函數 (async) |
||||||||||||||||||||
tar |
Object | 資料目標,需提供 select、insert、save、del 函數 (async) |
||||||||||||||||||||
opt |
Object | 設定物件 Properties
|
Returns:
- Type
- EventEmitter