Documentation ¶
Index ¶
- type Client
- func (client *Client) DeleteKey(req web.RequestInterface, key interface{}) error
- func (client *Client) DeleteMulti(req web.RequestInterface, keys interface{}) error
- func (client *Client) DeleteStruct(req web.RequestInterface, entityType, keyName string, intId int64, ...) error
- func (client *Client) GetIncomplete(req web.RequestInterface, entityType string, intId int64, dst interface{}) (bool, error)
- func (client *Client) GetKey(req web.RequestInterface, key interface{}, dst interface{}) (bool, error)
- func (client *Client) GetStruct(req web.RequestInterface, entityType, keyName string, intId int64, ...) (bool, error)
- func (client *Client) IsAppEngine() bool
- func (client *Client) PutIncomplete(req web.RequestInterface, entityType string, ancestor, src interface{}) error
- func (client *Client) PutKey(req web.RequestInterface, key interface{}, src interface{}) error
- func (client *Client) PutStruct(req web.RequestInterface, entityType, keyName string, intId int64, ...) error
- func (client *Client) RunInTransaction(req web.RequestInterface, f func(context.Context) error) error
- func (client *Client) RunKeysQuery(req web.RequestInterface, query *datastore.Query) ([]*datastore.Key, error)
- func (client *Client) RunKeysQueryAE(req web.RequestInterface, query *datastoreAE.Query) ([]*datastoreAE.Key, error)
- func (client *Client) RunQuery(req web.RequestInterface, q, dst interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) DeleteKey ¶
func (client *Client) DeleteKey(req web.RequestInterface, key interface{}) error
func (*Client) DeleteMulti ¶
func (client *Client) DeleteMulti(req web.RequestInterface, keys interface{}) error
func (*Client) DeleteStruct ¶
func (*Client) GetIncomplete ¶
func (*Client) GetKey ¶
func (client *Client) GetKey(req web.RequestInterface, key interface{}, dst interface{}) (bool, error)
func (*Client) IsAppEngine ¶
func (*Client) PutIncomplete ¶
func (client *Client) PutIncomplete(req web.RequestInterface, entityType string, ancestor, src interface{}) error
func (*Client) PutKey ¶
func (client *Client) PutKey(req web.RequestInterface, key interface{}, src interface{}) error
func (*Client) RunInTransaction ¶
func (*Client) RunKeysQuery ¶
func (*Client) RunKeysQueryAE ¶
func (client *Client) RunKeysQueryAE(req web.RequestInterface, query *datastoreAE.Query) ([]*datastoreAE.Key, error)
Click to show internal directories.
Click to hide internal directories.