class
Int
Source: entity.
Build a Datastore Int object. For long integers, a string can be provided.
Property
new Int(value)
Example
const {Datastore} = require('@google-cloud/datastore');
const datastore = new Datastore();
const anInt = datastore.int(7);
Parameter
| Name | Type | Optional | Description |
|---|---|---|---|
|
value |
|
|
The integer value. |