package
2.0.6+incompatible
Repository: https://github.com/golang/appengine.git
Documentation: pkg.go.dev
# Functions
AllocateIDRange allocates a range of IDs with specific endpoints.
AllocateIDs returns a range of n integer IDs with the given kind and parent combination.
DecodeCursor decodes a cursor from its base-64 string representation.
DecodeKey decodes a key from the opaque representation returned by Encode.
Delete deletes the entity for the given key.
DeleteMulti is a batch version of Delete.
EnableKeyConversion enables encoded key compatibility with the Cloud Datastore client library (cloud.google.com/go/datastore).
Get loads the entity stored for k into dst, which must be a struct pointer or implement PropertyLoadSaver.
GetMulti is a batch version of Get.
KindProperties returns all the indexed properties for the given kind.
Kinds returns the names of all the kinds in the current namespace.
LoadStruct loads the properties from p to dst.
Namespaces returns all the datastore namespaces.
NewIncompleteKey creates a new incomplete key.
NewKey creates a new key.
NewQuery creates a new Query for a specific entity kind.
Put saves the entity src into the datastore with key k.
PutMulti is a batch version of Put.
RunInTransaction runs f in a transaction.
SaveStruct returns the properties from src as a slice of Properties.
# Variables
Done is returned when a query iteration has completed.
ErrConcurrentTransaction is returned when a transaction is rolled back due to a conflict with a concurrent transaction.
ErrInvalidEntityType is returned when functions like Get or Next are passed a dst or src argument of invalid type.
ErrInvalidKey is returned when an invalid key is presented.
ErrNoSuchEntity is returned when no entity was found for a given key.
# Structs
Cursor is an iterator's position.
An Entity is the value type for a nested struct.
ErrFieldMismatch is returned when a field is to be loaded into a different type than the one it was stored from, or when a field is missing or unexported in the destination struct.
Iterator is the result of running a query.
Key represents the datastore key for a stored entity, and is immutable.
No description provided by the author
No description provided by the author
Property is a name/value pair plus some metadata.
Query represents a datastore query.
TransactionOptions are the options for running a transaction.
# Interfaces
PropertyLoadSaver can be converted from and to a slice of Properties.
# Type aliases
ByteString is a short byte slice (up to 1500 bytes) that can be indexed.
PropertyList converts a []Property to implement PropertyLoadSaver.