Methods
(async, static) fetchActiveAuctions() → {object}
- Source:
Get all active Auctions
Returns:
sql response
- Type
- object
(async, static) fetchProductsAll(req, count) → {object}
- Source:
Get all products
Parameters:
Name | Type | Description |
---|---|---|
req |
object | request data |
count |
string | count for the pagination |
Returns:
sql response
- Type
- object
(async, static) marketStatusUpdate(status, pid) → {object}
- Source:
Update Project status
Parameters:
Name | Type | Description |
---|---|---|
status |
string | Status which has to be updated |
pid |
number | Project ID which status has to be updated |
Returns:
sql response
- Type
- object