Constructor

Int

new Int(value)

Build a Datastore Int object. For long integers, a string can be provided.

Parameter

value

(number or string)

The integer value.

Example

const Datastore = require('@google-cloud/datastore');
const datastore = new Datastore();
const anInt = datastore.int(7);

Property

value

string