Skip to content

@sourceloop/reporting-service / Exports / DataStoreDataTypeConversionFunctions

Interface: DataStoreDataTypeConversionFunctions

Table of contents

Methods

Methods

convertToArray

convertToArray(value, options?): AnyObject[]

Parameters

Name Type
value JSONValueType
options? DataTypeConversionOptions

Returns

AnyObject[]

Defined in

services/reporting-service/src/interfaces/data-store-data-type-conversion-functions.interface.ts:22


convertToBoolean

convertToBoolean(value, options?): boolean

Parameters

Name Type
value JSONValueType
options? DataTypeConversionOptions

Returns

boolean

Defined in

services/reporting-service/src/interfaces/data-store-data-type-conversion-functions.interface.ts:14


convertToDate

convertToDate(value, options?): string

Parameters

Name Type
value JSONValueType
options? DataTypeConversionOptions

Returns

string

Defined in

services/reporting-service/src/interfaces/data-store-data-type-conversion-functions.interface.ts:18


convertToNumber

convertToNumber(value, options?): number

Parameters

Name Type
value JSONValueType
options? DataTypeConversionOptions

Returns

number

Defined in

services/reporting-service/src/interfaces/data-store-data-type-conversion-functions.interface.ts:10


convertToObject

convertToObject(value, options?): AnyObject

Parameters

Name Type
value JSONValueType
options? DataTypeConversionOptions

Returns

AnyObject

Defined in

services/reporting-service/src/interfaces/data-store-data-type-conversion-functions.interface.ts:26


convertToString

convertToString(value, options?): string

Parameters

Name Type
value JSONValueType
options? DataTypeConversionOptions

Returns

string

Defined in

services/reporting-service/src/interfaces/data-store-data-type-conversion-functions.interface.ts:6