Versions in this module Expand all Collapse all v1 v1.0.1 Feb 4, 2021 Changes in this version + func NewClient(ctx context.Context, projectID string, opts ...option.ClientOption) (*datastore.Client, error) + type Entity struct + ETag string + ID string + NoIndexProps map[string]bool + Payload map[string]interface{} + Updated time.Time + func (e *Entity) Load(ps []datastore.Property) error + func (e *Entity) Save() ([]datastore.Property, error) + type Handler struct + func NewHandler(client *datastore.Client, namespace, entity string) *Handler + func (d *Handler) Clear(ctx context.Context, q *query.Query) (int, error) + func (d *Handler) Delete(ctx context.Context, item *resource.Item) error + func (d *Handler) Find(ctx context.Context, q *query.Query) (*resource.ItemList, error) + func (d *Handler) Insert(ctx context.Context, items []*resource.Item) error + func (d *Handler) SetNoIndexProperties(props []string) *Handler + func (d *Handler) Update(ctx context.Context, item *resource.Item, original *resource.Item) error