Documentation ¶
Index ¶
- type AECompatibleOperations
- type AECompatibleTransaction
- func (tx *AECompatibleTransaction) Boom() *Boom
- func (tx *AECompatibleTransaction) Commit() (datastore.Commit, error)
- func (tx *AECompatibleTransaction) Delete(src interface{}) error
- func (tx *AECompatibleTransaction) DeleteMulti(src interface{}) error
- func (tx *AECompatibleTransaction) Get(dst interface{}) error
- func (tx *AECompatibleTransaction) GetMulti(dst interface{}) error
- func (tx *AECompatibleTransaction) Key(src interface{}) datastore.Key
- func (tx *AECompatibleTransaction) KeyError(src interface{}) (datastore.Key, error)
- func (tx *AECompatibleTransaction) Kind(src interface{}) string
- func (tx *AECompatibleTransaction) Put(src interface{}) (datastore.Key, error)
- func (tx *AECompatibleTransaction) PutMulti(src interface{}) ([]datastore.Key, error)
- func (tx *AECompatibleTransaction) Rollback() error
- type Batch
- type Boom
- func (bm *Boom) AllocateID(src interface{}) (datastore.Key, error)
- func (bm *Boom) AllocateIDs(src interface{}) ([]datastore.Key, error)
- func (bm *Boom) Batch() *Batch
- func (bm *Boom) Count(q datastore.Query) (int, error)
- func (bm *Boom) DecodeCursor(s string) (datastore.Cursor, error)
- func (bm *Boom) Delete(src interface{}) error
- func (bm *Boom) DeleteMulti(src interface{}) error
- func (bm *Boom) Get(dst interface{}) error
- func (bm *Boom) GetAll(q datastore.Query, dst interface{}) ([]datastore.Key, error)
- func (bm *Boom) GetMulti(dst interface{}) error
- func (bm *Boom) Key(src interface{}) datastore.Key
- func (bm *Boom) KeyError(src interface{}) (datastore.Key, error)
- func (bm *Boom) Kind(src interface{}) string
- func (bm *Boom) NewQuery(k string) datastore.Query
- func (bm *Boom) NewTransaction() (*Transaction, error)
- func (bm *Boom) Put(src interface{}) (datastore.Key, error)
- func (bm *Boom) PutMulti(src interface{}) ([]datastore.Key, error)
- func (bm *Boom) Run(q datastore.Query) *Iterator
- func (bm *Boom) RunInTransaction(f func(tx *Transaction) error) (datastore.Commit, error)
- type Iterator
- type Transaction
- func (tx *Transaction) Batch() *TransactionBatch
- func (tx *Transaction) Commit() (datastore.Commit, error)
- func (tx *Transaction) Delete(src interface{}) error
- func (tx *Transaction) DeleteMulti(src interface{}) error
- func (tx *Transaction) Get(dst interface{}) error
- func (tx *Transaction) GetMulti(dst interface{}) error
- func (tx *Transaction) Key(src interface{}) datastore.Key
- func (tx *Transaction) KeyError(src interface{}) (datastore.Key, error)
- func (tx *Transaction) Kind(src interface{}) string
- func (tx *Transaction) Put(src interface{}) (datastore.PendingKey, error)
- func (tx *Transaction) PutMulti(src interface{}) ([]datastore.PendingKey, error)
- func (tx *Transaction) Rollback() error
- type TransactionBatch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AECompatibleOperations ¶ added in v0.5.0
type AECompatibleOperations interface { Kind(src interface{}) string Key(src interface{}) datastore.Key KeyError(src interface{}) (datastore.Key, error) Get(dst interface{}) error GetMulti(dst interface{}) error Put(src interface{}) (datastore.Key, error) PutMulti(src interface{}) ([]datastore.Key, error) Delete(src interface{}) error DeleteMulti(src interface{}) error }
type AECompatibleTransaction ¶ added in v0.5.0
type AECompatibleTransaction struct {
// contains filtered or unexported fields
}
func ToAECompatibleTransaction ¶ added in v0.5.0
func ToAECompatibleTransaction(tx *Transaction) *AECompatibleTransaction
func (*AECompatibleTransaction) Boom ¶ added in v0.5.0
func (tx *AECompatibleTransaction) Boom() *Boom
func (*AECompatibleTransaction) Commit ¶ added in v0.5.0
func (tx *AECompatibleTransaction) Commit() (datastore.Commit, error)
func (*AECompatibleTransaction) Delete ¶ added in v0.5.0
func (tx *AECompatibleTransaction) Delete(src interface{}) error
func (*AECompatibleTransaction) DeleteMulti ¶ added in v0.5.0
func (tx *AECompatibleTransaction) DeleteMulti(src interface{}) error
func (*AECompatibleTransaction) Get ¶ added in v0.5.0
func (tx *AECompatibleTransaction) Get(dst interface{}) error
func (*AECompatibleTransaction) GetMulti ¶ added in v0.5.0
func (tx *AECompatibleTransaction) GetMulti(dst interface{}) error
func (*AECompatibleTransaction) Key ¶ added in v0.5.0
func (tx *AECompatibleTransaction) Key(src interface{}) datastore.Key
func (*AECompatibleTransaction) KeyError ¶ added in v0.5.0
func (tx *AECompatibleTransaction) KeyError(src interface{}) (datastore.Key, error)
func (*AECompatibleTransaction) Kind ¶ added in v0.5.0
func (tx *AECompatibleTransaction) Kind(src interface{}) string
func (*AECompatibleTransaction) Put ¶ added in v0.5.0
func (tx *AECompatibleTransaction) Put(src interface{}) (datastore.Key, error)
func (*AECompatibleTransaction) PutMulti ¶ added in v0.5.0
func (tx *AECompatibleTransaction) PutMulti(src interface{}) ([]datastore.Key, error)
func (*AECompatibleTransaction) Rollback ¶ added in v0.5.0
func (tx *AECompatibleTransaction) Rollback() error
type Batch ¶
type Batch struct {
// contains filtered or unexported fields
}
func (*Batch) Delete ¶
func (b *Batch) Delete(dst interface{}, h datastore.BatchErrHandler)
func (*Batch) Get ¶
func (b *Batch) Get(dst interface{}, h datastore.BatchErrHandler)
func (*Batch) Put ¶
func (b *Batch) Put(src interface{}, h datastore.BatchPutHandler)
type Boom ¶
func (*Boom) AllocateID ¶ added in v0.4.0
func (*Boom) AllocateIDs ¶ added in v0.4.0
func (*Boom) DecodeCursor ¶ added in v0.3.0
func (*Boom) DeleteMulti ¶
func (*Boom) NewTransaction ¶
func (bm *Boom) NewTransaction() (*Transaction, error)
func (*Boom) RunInTransaction ¶
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
func (*Transaction) Batch ¶
func (tx *Transaction) Batch() *TransactionBatch
func (*Transaction) Delete ¶
func (tx *Transaction) Delete(src interface{}) error
func (*Transaction) DeleteMulti ¶
func (tx *Transaction) DeleteMulti(src interface{}) error
func (*Transaction) Get ¶
func (tx *Transaction) Get(dst interface{}) error
func (*Transaction) GetMulti ¶
func (tx *Transaction) GetMulti(dst interface{}) error
func (*Transaction) Key ¶ added in v0.5.0
func (tx *Transaction) Key(src interface{}) datastore.Key
func (*Transaction) KeyError ¶ added in v0.5.0
func (tx *Transaction) KeyError(src interface{}) (datastore.Key, error)
func (*Transaction) Kind ¶ added in v0.5.0
func (tx *Transaction) Kind(src interface{}) string
func (*Transaction) Put ¶
func (tx *Transaction) Put(src interface{}) (datastore.PendingKey, error)
func (*Transaction) PutMulti ¶
func (tx *Transaction) PutMulti(src interface{}) ([]datastore.PendingKey, error)
func (*Transaction) Rollback ¶
func (tx *Transaction) Rollback() error
type TransactionBatch ¶
type TransactionBatch struct {
// contains filtered or unexported fields
}
func (*TransactionBatch) Delete ¶
func (b *TransactionBatch) Delete(dst interface{}, h datastore.BatchErrHandler)
func (*TransactionBatch) Exec ¶
func (b *TransactionBatch) Exec() error
func (*TransactionBatch) Get ¶
func (b *TransactionBatch) Get(dst interface{}, h datastore.BatchErrHandler)
func (*TransactionBatch) Put ¶
func (b *TransactionBatch) Put(src interface{}, h datastore.TxBatchPutHandler)
Click to show internal directories.
Click to hide internal directories.