gstore-node
Search…
plain()
This methods returns the entity data and its entity key id (int or string)
It accepts one optional options argument
1
entity.plain({
2
readAll: true|false,
3
virtuals: true|false,
4
showKey: true|false,
5
}):
Copied!

options

    readAll (default: false)
Outputs all the data properties, regardless of the schema "read" parameter.
    virtuals (default: false)
Adds the schema "virtuals" to the output. (see: schema virtuals)
    showKey(default: false)
Adds a "__key" property to the entity data with the complete Key from the Datastore.
Last modified 2yr ago
Copy link
Contents
options