Documentation ¶
Index ¶
- Constants
- Variables
- func AddBundleHook(hookPoint boil.HookPoint, bundleHook BundleHook)
- func AddCacheHook(hookPoint boil.HookPoint, cacheHook CacheHook)
- func AddEscrowCacheHook(hookPoint boil.HookPoint, escrowCacheHook EscrowCacheHook)
- func AddEscrowHook(hookPoint boil.HookPoint, escrowHook EscrowHook)
- func BundleExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func Bundles(mods ...qm.QueryMod) bundleQuery
- func CacheExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func Caches(mods ...qm.QueryMod) cacheQuery
- func EscrowCacheExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func EscrowCaches(mods ...qm.QueryMod) escrowCacheQuery
- func EscrowExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func Escrows(mods ...qm.QueryMod) escrowQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- type Bundle
- func (o *Bundle) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Bundle) Escrow(mods ...qm.QueryMod) escrowQuery
- func (o *Bundle) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Bundle) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Bundle) SetEscrow(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Escrow) error
- func (o *Bundle) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Bundle) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type BundleHook
- type BundleSlice
- type Cache
- func (o *Cache) AddEscrowCaches(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Cache) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Cache) EscrowCaches(mods ...qm.QueryMod) escrowCacheQuery
- func (o *Cache) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Cache) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Cache) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Cache) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type CacheHook
- type CacheSlice
- type Escrow
- func (o *Escrow) AddBundles(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Escrow) AddEscrowCaches(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Escrow) Bundles(mods ...qm.QueryMod) bundleQuery
- func (o *Escrow) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Escrow) EscrowCaches(mods ...qm.QueryMod) escrowCacheQuery
- func (o *Escrow) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Escrow) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Escrow) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Escrow) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type EscrowCache
- func (o *EscrowCache) Cache(mods ...qm.QueryMod) cacheQuery
- func (o *EscrowCache) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *EscrowCache) Escrow(mods ...qm.QueryMod) escrowQuery
- func (o *EscrowCache) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *EscrowCache) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *EscrowCache) SetCache(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Cache) error
- func (o *EscrowCache) SetEscrow(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Escrow) error
- func (o *EscrowCache) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *EscrowCache) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type EscrowCacheHook
- type EscrowCacheSlice
- type EscrowHook
- type EscrowSlice
- type M
Constants ¶
const ( EscrowStateOk = "ok" EscrowStateAborted = "aborted" )
Enum values for escrow_state
Variables ¶
var BundleColumns = struct { ID string EscrowID string BlockID string Raw string RequestSequenceNo string ClientPublicKey string Objectid string }{ ID: "id", EscrowID: "escrow_id", BlockID: "block_id", Raw: "raw", RequestSequenceNo: "request_sequence_no", ClientPublicKey: "client_public_key", Objectid: "objectid", }
var BundleRels = struct { Escrow string }{ Escrow: "Escrow", }
BundleRels is where relationship names are stored.
var BundleWhere = struct { ID whereHelperint EscrowID whereHelperint BlockID whereHelperint Raw whereHelper__byte RequestSequenceNo whereHelperint ClientPublicKey whereHelperstring Objectid whereHelperstring }{ ID: whereHelperint{/* contains filtered or unexported fields */}, EscrowID: whereHelperint{/* contains filtered or unexported fields */}, BlockID: whereHelperint{/* contains filtered or unexported fields */}, Raw: whereHelper__byte{/* contains filtered or unexported fields */}, RequestSequenceNo: whereHelperint{/* contains filtered or unexported fields */}, ClientPublicKey: whereHelperstring{/* contains filtered or unexported fields */}, Objectid: whereHelperstring{/* contains filtered or unexported fields */}, }
var CacheColumns = struct { ID string PublicKey string Inetaddr string Inet6addr string Port string }{ ID: "id", PublicKey: "public_key", Inetaddr: "inetaddr", Inet6addr: "inet6addr", Port: "port", }
var CacheRels = struct { EscrowCaches string }{ EscrowCaches: "EscrowCaches", }
CacheRels is where relationship names are stored.
var CacheWhere = struct { ID whereHelperint PublicKey whereHelpered25519_PublicKey Inetaddr whereHelpernet_IP Inet6addr whereHelpernet_IP Port whereHelperuint32 }{ ID: whereHelperint{/* contains filtered or unexported fields */}, PublicKey: whereHelpered25519_PublicKey{/* contains filtered or unexported fields */}, Inetaddr: whereHelpernet_IP{/* contains filtered or unexported fields */}, Inet6addr: whereHelpernet_IP{/* contains filtered or unexported fields */}, Port: whereHelperuint32{/* contains filtered or unexported fields */}, }
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
var EscrowCacheColumns = struct { ID string EscrowID string CacheID string InnerMasterKey string }{ ID: "id", EscrowID: "escrow_id", CacheID: "cache_id", InnerMasterKey: "inner_master_key", }
var EscrowCacheRels = struct { Cache string Escrow string }{ Cache: "Cache", Escrow: "Escrow", }
EscrowCacheRels is where relationship names are stored.
var EscrowCacheWhere = struct { ID whereHelperint EscrowID whereHelperint CacheID whereHelperint InnerMasterKey whereHelper__byte }{ ID: whereHelperint{/* contains filtered or unexported fields */}, EscrowID: whereHelperint{/* contains filtered or unexported fields */}, CacheID: whereHelperint{/* contains filtered or unexported fields */}, InnerMasterKey: whereHelper__byte{/* contains filtered or unexported fields */}, }
var EscrowColumns = struct { ID string Txid string StartBlock string EndBlock string State string PublicKey string PrivateKey string Raw string }{ ID: "id", Txid: "txid", StartBlock: "start_block", EndBlock: "end_block", State: "state", PublicKey: "public_key", PrivateKey: "private_key", Raw: "raw", }
var EscrowRels = struct { Bundles string EscrowCaches string }{ Bundles: "Bundles", EscrowCaches: "EscrowCaches", }
EscrowRels is where relationship names are stored.
var EscrowWhere = struct { ID whereHelperint Txid whereHelpercommon_EscrowID StartBlock whereHelperint EndBlock whereHelperint State whereHelperstring PublicKey whereHelpered25519_PublicKey PrivateKey whereHelpered25519_PrivateKey Raw whereHelper__byte }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Txid: whereHelpercommon_EscrowID{/* contains filtered or unexported fields */}, StartBlock: whereHelperint{/* contains filtered or unexported fields */}, EndBlock: whereHelperint{/* contains filtered or unexported fields */}, State: whereHelperstring{/* contains filtered or unexported fields */}, PublicKey: whereHelpered25519_PublicKey{/* contains filtered or unexported fields */}, PrivateKey: whereHelpered25519_PrivateKey{/* contains filtered or unexported fields */}, Raw: whereHelper__byte{/* contains filtered or unexported fields */}, }
var TableNames = struct { Bundle string Cache string Escrow string EscrowCaches string }{ Bundle: "bundle", Cache: "cache", Escrow: "escrow", EscrowCaches: "escrow_caches", }
Functions ¶
func AddBundleHook ¶
func AddBundleHook(hookPoint boil.HookPoint, bundleHook BundleHook)
AddBundleHook registers your hook function for all future operations.
func AddCacheHook ¶
AddCacheHook registers your hook function for all future operations.
func AddEscrowCacheHook ¶
func AddEscrowCacheHook(hookPoint boil.HookPoint, escrowCacheHook EscrowCacheHook)
AddEscrowCacheHook registers your hook function for all future operations.
func AddEscrowHook ¶
func AddEscrowHook(hookPoint boil.HookPoint, escrowHook EscrowHook)
AddEscrowHook registers your hook function for all future operations.
func BundleExists ¶
BundleExists checks if the Bundle row exists.
func CacheExists ¶
CacheExists checks if the Cache row exists.
func EscrowCacheExists ¶
EscrowCacheExists checks if the EscrowCache row exists.
func EscrowCaches ¶
EscrowCaches retrieves all the records using an executor.
func EscrowExists ¶
EscrowExists checks if the Escrow row exists.
Types ¶
type Bundle ¶
type Bundle struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` EscrowID int `boil:"escrow_id" json:"escrow_id" toml:"escrow_id" yaml:"escrow_id"` BlockID int `boil:"block_id" json:"block_id" toml:"block_id" yaml:"block_id"` Raw []byte `boil:"raw" json:"raw" toml:"raw" yaml:"raw"` RequestSequenceNo int `boil:"request_sequence_no" json:"request_sequence_no" toml:"request_sequence_no" yaml:"request_sequence_no"` ClientPublicKey string `boil:"client_public_key" json:"client_public_key" toml:"client_public_key" yaml:"client_public_key"` Objectid string `boil:"objectid" json:"objectid" toml:"objectid" yaml:"objectid"` R *bundleR `boil:"-" json:"-" toml:"-" yaml:"-"` L bundleL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Bundle is an object representing the database table.
func FindBundle ¶
func FindBundle(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Bundle, error)
FindBundle retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Bundle) Delete ¶
Delete deletes a single Bundle record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Bundle) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Bundle) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Bundle) SetEscrow ¶
func (o *Bundle) SetEscrow(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Escrow) error
SetEscrow of the bundle to the related item. Sets o.R.Escrow to related. Adds o to related.R.Bundles.
func (*Bundle) Update ¶
func (o *Bundle) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Bundle. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Bundle) Upsert ¶
func (o *Bundle) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type BundleHook ¶
BundleHook is the signature for custom Bundle hook methods
type BundleSlice ¶
type BundleSlice []*Bundle
BundleSlice is an alias for a slice of pointers to Bundle. This should generally be used opposed to []Bundle.
func (BundleSlice) DeleteAll ¶
func (o BundleSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*BundleSlice) ReloadAll ¶
func (o *BundleSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (BundleSlice) UpdateAll ¶
func (o BundleSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Cache ¶
type Cache struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` PublicKey ed25519.PublicKey `boil:"public_key" json:"public_key" toml:"public_key" yaml:"public_key"` Inetaddr net.IP `boil:"inetaddr" json:"inetaddr" toml:"inetaddr" yaml:"inetaddr"` Inet6addr net.IP `boil:"inet6addr" json:"inet6addr" toml:"inet6addr" yaml:"inet6addr"` Port uint32 `boil:"port" json:"port" toml:"port" yaml:"port"` R *cacheR `boil:"-" json:"-" toml:"-" yaml:"-"` L cacheL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Cache is an object representing the database table.
func FindCache ¶
func FindCache(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Cache, error)
FindCache retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Cache) AddEscrowCaches ¶
func (o *Cache) AddEscrowCaches(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*EscrowCache) error
AddEscrowCaches adds the given related objects to the existing relationships of the cache, optionally inserting them as new records. Appends related to o.R.EscrowCaches. Sets related.R.Cache appropriately.
func (*Cache) Delete ¶
Delete deletes a single Cache record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Cache) EscrowCaches ¶
EscrowCaches retrieves all the escrow_cach's EscrowCaches with an executor.
func (*Cache) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Cache) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Cache) Update ¶
func (o *Cache) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Cache. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Cache) Upsert ¶
func (o *Cache) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type CacheSlice ¶
type CacheSlice []*Cache
CacheSlice is an alias for a slice of pointers to Cache. This should generally be used opposed to []Cache.
func (CacheSlice) DeleteAll ¶
func (o CacheSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*CacheSlice) ReloadAll ¶
func (o *CacheSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (CacheSlice) UpdateAll ¶
func (o CacheSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Escrow ¶
type Escrow struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Txid common.EscrowID `boil:"txid" json:"txid" toml:"txid" yaml:"txid"` StartBlock int `boil:"start_block" json:"start_block" toml:"start_block" yaml:"start_block"` EndBlock int `boil:"end_block" json:"end_block" toml:"end_block" yaml:"end_block"` State string `boil:"state" json:"state" toml:"state" yaml:"state"` PublicKey ed25519.PublicKey `boil:"public_key" json:"public_key" toml:"public_key" yaml:"public_key"` PrivateKey ed25519.PrivateKey `boil:"private_key" json:"private_key" toml:"private_key" yaml:"private_key"` Raw []byte `boil:"raw" json:"raw" toml:"raw" yaml:"raw"` R *escrowR `boil:"-" json:"-" toml:"-" yaml:"-"` L escrowL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Escrow is an object representing the database table.
func FindEscrow ¶
func FindEscrow(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Escrow, error)
FindEscrow retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Escrow) AddBundles ¶
func (o *Escrow) AddBundles(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Bundle) error
AddBundles adds the given related objects to the existing relationships of the escrow, optionally inserting them as new records. Appends related to o.R.Bundles. Sets related.R.Escrow appropriately.
func (*Escrow) AddEscrowCaches ¶
func (o *Escrow) AddEscrowCaches(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*EscrowCache) error
AddEscrowCaches adds the given related objects to the existing relationships of the escrow, optionally inserting them as new records. Appends related to o.R.EscrowCaches. Sets related.R.Escrow appropriately.
func (*Escrow) Delete ¶
Delete deletes a single Escrow record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Escrow) EscrowCaches ¶
EscrowCaches retrieves all the escrow_cach's EscrowCaches with an executor.
func (*Escrow) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Escrow) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Escrow) Update ¶
func (o *Escrow) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Escrow. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Escrow) Upsert ¶
func (o *Escrow) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type EscrowCache ¶
type EscrowCache struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` EscrowID int `boil:"escrow_id" json:"escrow_id" toml:"escrow_id" yaml:"escrow_id"` CacheID int `boil:"cache_id" json:"cache_id" toml:"cache_id" yaml:"cache_id"` InnerMasterKey []byte `boil:"inner_master_key" json:"inner_master_key" toml:"inner_master_key" yaml:"inner_master_key"` R *escrowCacheR `boil:"-" json:"-" toml:"-" yaml:"-"` L escrowCacheL `boil:"-" json:"-" toml:"-" yaml:"-"` }
EscrowCache is an object representing the database table.
func FindEscrowCache ¶
func FindEscrowCache(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*EscrowCache, error)
FindEscrowCache retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*EscrowCache) Cache ¶
func (o *EscrowCache) Cache(mods ...qm.QueryMod) cacheQuery
Cache pointed to by the foreign key.
func (*EscrowCache) Delete ¶
func (o *EscrowCache) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single EscrowCache record with an executor. Delete will match against the primary key column to find the record to delete.
func (*EscrowCache) Escrow ¶
func (o *EscrowCache) Escrow(mods ...qm.QueryMod) escrowQuery
Escrow pointed to by the foreign key.
func (*EscrowCache) Insert ¶
func (o *EscrowCache) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*EscrowCache) Reload ¶
func (o *EscrowCache) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*EscrowCache) SetCache ¶
func (o *EscrowCache) SetCache(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Cache) error
SetCache of the escrowCache to the related item. Sets o.R.Cache to related. Adds o to related.R.EscrowCaches.
func (*EscrowCache) SetEscrow ¶
func (o *EscrowCache) SetEscrow(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Escrow) error
SetEscrow of the escrowCache to the related item. Sets o.R.Escrow to related. Adds o to related.R.EscrowCaches.
func (*EscrowCache) Update ¶
func (o *EscrowCache) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the EscrowCache. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*EscrowCache) Upsert ¶
func (o *EscrowCache) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type EscrowCacheHook ¶
type EscrowCacheHook func(context.Context, boil.ContextExecutor, *EscrowCache) error
EscrowCacheHook is the signature for custom EscrowCache hook methods
type EscrowCacheSlice ¶
type EscrowCacheSlice []*EscrowCache
EscrowCacheSlice is an alias for a slice of pointers to EscrowCache. This should generally be used opposed to []EscrowCache.
func (EscrowCacheSlice) DeleteAll ¶
func (o EscrowCacheSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*EscrowCacheSlice) ReloadAll ¶
func (o *EscrowCacheSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (EscrowCacheSlice) UpdateAll ¶
func (o EscrowCacheSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type EscrowHook ¶
EscrowHook is the signature for custom Escrow hook methods
type EscrowSlice ¶
type EscrowSlice []*Escrow
EscrowSlice is an alias for a slice of pointers to Escrow. This should generally be used opposed to []Escrow.
func (EscrowSlice) DeleteAll ¶
func (o EscrowSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*EscrowSlice) ReloadAll ¶
func (o *EscrowSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (EscrowSlice) UpdateAll ¶
func (o EscrowSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.