Class PGNumeric (7.0.0)

PGNumeric

Package

@google-cloud/spanner

Constructors

(constructor)(pgValue)

constructor(pgValue: string | number);

Constructs a new instance of the PGNumeric class

Parameter
NameDescription
pgValue string | number

Properties

value

value: string;

Methods

toJSON()

toJSON(): string;
Returns
TypeDescription
string

valueOf()

valueOf(): Big;
Returns
TypeDescription
Big