internal

package
v0.0.0-...-98fda95 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Count

func Count(ctx ae.Context, qry *types.Query) (int, error)

Count returns the number of results for a query.

func Delete

func Delete(kind *types.Kind, src interface{}, multi bool) error

Delete deletes the given entity.

func DeleteKeys

func DeleteKeys(kind *types.Kind, keys ...*types.Key) error

DeleteKeys deletes the entities for the given keys.

func Get

func Get(kind *types.Kind, keys []*types.Key, dst interface{}, useGlobalCache bool, multi bool) ([]*types.Key, error)

Get loads entities for the given keys.

func Iterate

func Iterate(it *types.Iterator, dsts interface{}, multi bool) (keys []*types.Key, err error)

Iterate loads entities from an iterator.

func LogDatastoreAction

func LogDatastoreAction(verb string, prop string, keys []*types.Key, kind string) string

LogDatastoreAction logs a datastore action.

func Put

func Put(kind *types.Kind, src interface{}, completeKeys bool) ([]*types.Key, error)

Put saves the given entities.

func Transact

func Transact(ctx ae.Context, crossGroup bool, f func(_ ae.Context) error) error

Transact runs a function in a transaction.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL