Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CodecSet is a set of all registered entity codecs. CodecSet *structor.Set )
Functions ¶
This section is empty.
Types ¶
type Doc ¶
type Doc struct {
// contains filtered or unexported fields
}
Doc is a reader and writer for a datastore entity.
It is based on: https://code.google.com/p/appengine-go/source/browse/appengine/datastore/prop.go
type DocList ¶
type DocList struct {
// contains filtered or unexported fields
}
DocList represents a collection of Doc.
func NewReadableDocList ¶
NewReadableDocList returns a new DocList, suitable for reading from it.
func NewWriteableDocList ¶
NewWriteableDocList creates a new DocList, suitable for writing to it.
func (*DocList) ApplyResult ¶
func (*DocList) Get ¶
Get returns the list's nth Doc. it is created first if it doesn't already exist.
type DocsPipe ¶
type DocsPipe struct { Docs []*Doc // contains filtered or unexported fields }
DocsPipe can load/save datastore entries from/to entities.
func (*DocsPipe) Properties ¶
func (p *DocsPipe) Properties() []ds.PropertyLoadSaver
Properties returns a sequence of datastore.PropertyLoadSaver.
Click to show internal directories.
Click to hide internal directories.