Documentation
¶
Index ¶
- Variables
- func NewClient(ctx context.Context, opts Options) (*datastore.Client, error)
- type AggregationQuery
- type AndFilter
- type Client
- type Entity
- type EntityFilter
- type EntityMetadata
- type ExplainMetrics
- type ExplainOptions
- type GeoPoint
- type Key
- type KeyFormatter
- type Keys
- type LowLevelClient
- type MultiError
- type Mutation
- type Options
- type OrFilter
- type Property
- type PropertyFilter
- type Query
- type RunOption
- type Transaction
- type Type
- type Value
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NewInsert = datastore.NewInsert NewUpdate = datastore.NewUpdate )
View Source
var ErrNoSuchEntity = datastore.ErrNoSuchEntity
View Source
var NewQuery = datastore.NewQuery
Functions ¶
Types ¶
type AggregationQuery ¶
type AggregationQuery = datastore.AggregationQuery
type Entity ¶
type Entity struct { Key *Key `json:"key"` Properties []Property `json:"properties,omitempty"` Metadata *EntityMetadata `json:"metadata,omitempty"` }
type EntityFilter ¶
type EntityFilter = datastore.EntityFilter
type EntityMetadata ¶
type ExplainMetrics ¶
type ExplainMetrics = datastore.ExplainMetrics
type ExplainOptions ¶
type ExplainOptions = datastore.ExplainOptions
type Key ¶
type Key struct { Kind string `json:"kind"` ID int64 `json:"id,omitempty"` Name string `json:"name,omitempty"` Parent *Key `json:"parent,omitempty"` Namespace string `json:"namespace,omitempty"` }
func FromDatastoreKey ¶
func (*Key) ToDatastore ¶
type KeyFormatter ¶
type KeyFormatter struct {
Format string
}
func (*KeyFormatter) FormatKey ¶
func (k *KeyFormatter) FormatKey(key *Key) any
type LowLevelClient ¶
type LowLevelClient struct {
// contains filtered or unexported fields
}
func NewLowLevelClient ¶
func NewLowLevelClient(client *datastore.Client) *LowLevelClient
func (*LowLevelClient) GetMetadata ¶
func (c *LowLevelClient) GetMetadata(ctx context.Context, key *datastore.Key) (*EntityMetadata, error)
type MultiError ¶
type MultiError = datastore.MultiError
type PropertyFilter ¶
type PropertyFilter = datastore.PropertyFilter
type Transaction ¶
type Transaction = datastore.Transaction
Source Files
¶
Click to show internal directories.
Click to hide internal directories.