stellarcore

package
v0.0.0-...-d0dd730 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccountColumns = struct {
	Accountid     string
	Balance       string
	Seqnum        string
	Numsubentries string
	Inflationdest string
	Homedomain    string
	Thresholds    string
	Flags         string
	Lastmodified  string
}{
	Accountid:     "accountid",
	Balance:       "balance",
	Seqnum:        "seqnum",
	Numsubentries: "numsubentries",
	Inflationdest: "inflationdest",
	Homedomain:    "homedomain",
	Thresholds:    "thresholds",
	Flags:         "flags",
	Lastmodified:  "lastmodified",
}
View Source
var AccountRels = struct {
}{}

AccountRels is where relationship names are stored.

View Source
var AccountdatumColumns = struct {
	Accountid    string
	Dataname     string
	Datavalue    string
	Lastmodified string
}{
	Accountid:    "accountid",
	Dataname:     "dataname",
	Datavalue:    "datavalue",
	Lastmodified: "lastmodified",
}
View Source
var AccountdatumRels = struct {
}{}

AccountdatumRels is where relationship names are stored.

View Source
var BanColumns = struct {
	Nodeid string
}{
	Nodeid: "nodeid",
}
View Source
var BanRels = struct {
}{}

BanRels is where relationship names are stored.

View Source
var ErrSyncFail = errors.New("stellarcore: 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.

View Source
var LedgerheaderColumns = struct {
	Ledgerhash     string
	Prevhash       string
	Bucketlisthash string
	Ledgerseq      string
	Closetime      string
	Data           string
}{
	Ledgerhash:     "ledgerhash",
	Prevhash:       "prevhash",
	Bucketlisthash: "bucketlisthash",
	Ledgerseq:      "ledgerseq",
	Closetime:      "closetime",
	Data:           "data",
}
View Source
var LedgerheaderRels = struct {
}{}

LedgerheaderRels is where relationship names are stored.

View Source
var OfferColumns = struct {
	Sellerid         string
	Offerid          string
	Sellingassettype string
	Sellingassetcode string
	Sellingissuer    string
	Buyingassettype  string
	Buyingassetcode  string
	Buyingissuer     string
	Amount           string
	Pricen           string
	Priced           string
	Price            string
	Flags            string
	Lastmodified     string
}{
	Sellerid:         "sellerid",
	Offerid:          "offerid",
	Sellingassettype: "sellingassettype",
	Sellingassetcode: "sellingassetcode",
	Sellingissuer:    "sellingissuer",
	Buyingassettype:  "buyingassettype",
	Buyingassetcode:  "buyingassetcode",
	Buyingissuer:     "buyingissuer",
	Amount:           "amount",
	Pricen:           "pricen",
	Priced:           "priced",
	Price:            "price",
	Flags:            "flags",
	Lastmodified:     "lastmodified",
}
View Source
var OfferRels = struct {
}{}

OfferRels is where relationship names are stored.

View Source
var PeerColumns = struct {
	IP          string
	Port        string
	Nextattempt string
	Numfailures string
	Flags       string
}{
	IP:          "ip",
	Port:        "port",
	Nextattempt: "nextattempt",
	Numfailures: "numfailures",
	Flags:       "flags",
}
View Source
var PeerRels = struct {
}{}

PeerRels is where relationship names are stored.

View Source
var PublishqueueColumns = struct {
	Ledger string
	State  string
}{
	Ledger: "ledger",
	State:  "state",
}
View Source
var PublishqueueRels = struct {
}{}

PublishqueueRels is where relationship names are stored.

View Source
var PubsubColumns = struct {
	Resid    string
	Lastread string
}{
	Resid:    "resid",
	Lastread: "lastread",
}
View Source
var PubsubRels = struct {
}{}

PubsubRels is where relationship names are stored.

View Source
var ScpquorumColumns = struct {
	Qsethash      string
	Lastledgerseq string
	Qset          string
}{
	Qsethash:      "qsethash",
	Lastledgerseq: "lastledgerseq",
	Qset:          "qset",
}
View Source
var ScpquorumRels = struct {
}{}

ScpquorumRels is where relationship names are stored.

View Source
var SignerColumns = struct {
	Accountid string
	Publickey string
	Weight    string
}{
	Accountid: "accountid",
	Publickey: "publickey",
	Weight:    "weight",
}
View Source
var SignerRels = struct {
}{}

SignerRels is where relationship names are stored.

View Source
var StorestateColumns = struct {
	Statename string
	State     string
}{
	Statename: "statename",
	State:     "state",
}
View Source
var StorestateRels = struct {
}{}

StorestateRels is where relationship names are stored.

View Source
var TableNames = struct {
	Accountdata   string
	Accounts      string
	Ban           string
	Ledgerheaders string
	Offers        string
	Peers         string
	Publishqueue  string
	Pubsub        string
	Scpquorums    string
	Signers       string
	Storestate    string
	Trustlines    string
	Txfeehistory  string
	Txhistory     string
}{
	Accountdata:   "accountdata",
	Accounts:      "accounts",
	Ban:           "ban",
	Ledgerheaders: "ledgerheaders",
	Offers:        "offers",
	Peers:         "peers",
	Publishqueue:  "publishqueue",
	Pubsub:        "pubsub",
	Scpquorums:    "scpquorums",
	Signers:       "signers",
	Storestate:    "storestate",
	Trustlines:    "trustlines",
	Txfeehistory:  "txfeehistory",
	Txhistory:     "txhistory",
}
View Source
var TrustlineColumns = struct {
	Accountid    string
	Assettype    string
	Issuer       string
	Assetcode    string
	Tlimit       string
	Balance      string
	Flags        string
	Lastmodified string
}{
	Accountid:    "accountid",
	Assettype:    "assettype",
	Issuer:       "issuer",
	Assetcode:    "assetcode",
	Tlimit:       "tlimit",
	Balance:      "balance",
	Flags:        "flags",
	Lastmodified: "lastmodified",
}
View Source
var TrustlineRels = struct {
}{}

TrustlineRels is where relationship names are stored.

View Source
var TxfeehistoryColumns = struct {
	Txid      string
	Ledgerseq string
	Txindex   string
	Txchanges string
}{
	Txid:      "txid",
	Ledgerseq: "ledgerseq",
	Txindex:   "txindex",
	Txchanges: "txchanges",
}
View Source
var TxfeehistoryRels = struct {
}{}

TxfeehistoryRels is where relationship names are stored.

View Source
var TxhistoryColumns = struct {
	Txid      string
	Ledgerseq string
	Txindex   string
	Txbody    string
	Txresult  string
	Txmeta    string
}{
	Txid:      "txid",
	Ledgerseq: "ledgerseq",
	Txindex:   "txindex",
	Txbody:    "txbody",
	Txresult:  "txresult",
	Txmeta:    "txmeta",
}
View Source
var TxhistoryRels = struct {
}{}

TxhistoryRels is where relationship names are stored.

Functions

func AccountExists

func AccountExists(exec boil.Executor, accountid string) (bool, error)

AccountExists checks if the Account row exists.

func AccountExistsG

func AccountExistsG(accountid string) (bool, error)

AccountExistsG checks if the Account row exists.

func Accountdata

func Accountdata(mods ...qm.QueryMod) accountdatumQuery

Accountdata retrieves all the records using an executor.

func AccountdatumExists

func AccountdatumExists(exec boil.Executor, accountid string, dataname string) (bool, error)

AccountdatumExists checks if the Accountdatum row exists.

func AccountdatumExistsG

func AccountdatumExistsG(accountid string, dataname string) (bool, error)

AccountdatumExistsG checks if the Accountdatum row exists.

func Accounts

func Accounts(mods ...qm.QueryMod) accountQuery

Accounts retrieves all the records using an executor.

func AddAccountHook

func AddAccountHook(hookPoint boil.HookPoint, accountHook AccountHook)

AddAccountHook registers your hook function for all future operations.

func AddAccountdatumHook

func AddAccountdatumHook(hookPoint boil.HookPoint, accountdatumHook AccountdatumHook)

AddAccountdatumHook registers your hook function for all future operations.

func AddBanHook

func AddBanHook(hookPoint boil.HookPoint, banHook BanHook)

AddBanHook registers your hook function for all future operations.

func AddLedgerheaderHook

func AddLedgerheaderHook(hookPoint boil.HookPoint, ledgerheaderHook LedgerheaderHook)

AddLedgerheaderHook registers your hook function for all future operations.

func AddOfferHook

func AddOfferHook(hookPoint boil.HookPoint, offerHook OfferHook)

AddOfferHook registers your hook function for all future operations.

func AddPeerHook

func AddPeerHook(hookPoint boil.HookPoint, peerHook PeerHook)

AddPeerHook registers your hook function for all future operations.

func AddPublishqueueHook

func AddPublishqueueHook(hookPoint boil.HookPoint, publishqueueHook PublishqueueHook)

AddPublishqueueHook registers your hook function for all future operations.

func AddPubsubHook

func AddPubsubHook(hookPoint boil.HookPoint, pubsubHook PubsubHook)

AddPubsubHook registers your hook function for all future operations.

func AddScpquorumHook

func AddScpquorumHook(hookPoint boil.HookPoint, scpquorumHook ScpquorumHook)

AddScpquorumHook registers your hook function for all future operations.

func AddSignerHook

func AddSignerHook(hookPoint boil.HookPoint, signerHook SignerHook)

AddSignerHook registers your hook function for all future operations.

func AddStorestateHook

func AddStorestateHook(hookPoint boil.HookPoint, storestateHook StorestateHook)

AddStorestateHook registers your hook function for all future operations.

func AddTrustlineHook

func AddTrustlineHook(hookPoint boil.HookPoint, trustlineHook TrustlineHook)

AddTrustlineHook registers your hook function for all future operations.

func AddTxfeehistoryHook

func AddTxfeehistoryHook(hookPoint boil.HookPoint, txfeehistoryHook TxfeehistoryHook)

AddTxfeehistoryHook registers your hook function for all future operations.

func AddTxhistoryHook

func AddTxhistoryHook(hookPoint boil.HookPoint, txhistoryHook TxhistoryHook)

AddTxhistoryHook registers your hook function for all future operations.

func BanExists

func BanExists(exec boil.Executor, nodeid string) (bool, error)

BanExists checks if the Ban row exists.

func BanExistsG

func BanExistsG(nodeid string) (bool, error)

BanExistsG checks if the Ban row exists.

func Bans

func Bans(mods ...qm.QueryMod) banQuery

Bans retrieves all the records using an executor.

func LedgerheaderExists

func LedgerheaderExists(exec boil.Executor, ledgerhash string) (bool, error)

LedgerheaderExists checks if the Ledgerheader row exists.

func LedgerheaderExistsG

func LedgerheaderExistsG(ledgerhash string) (bool, error)

LedgerheaderExistsG checks if the Ledgerheader row exists.

func Ledgerheaders

func Ledgerheaders(mods ...qm.QueryMod) ledgerheaderQuery

Ledgerheaders retrieves all the records using an executor.

func NewQuery

func NewQuery(mods ...qm.QueryMod) *queries.Query

NewQuery initializes a new Query using the passed in QueryMods

func OfferExists

func OfferExists(exec boil.Executor, offerid int64) (bool, error)

OfferExists checks if the Offer row exists.

func OfferExistsG

func OfferExistsG(offerid int64) (bool, error)

OfferExistsG checks if the Offer row exists.

func Offers

func Offers(mods ...qm.QueryMod) offerQuery

Offers retrieves all the records using an executor.

func PeerExists

func PeerExists(exec boil.Executor, iP string, port int) (bool, error)

PeerExists checks if the Peer row exists.

func PeerExistsG

func PeerExistsG(iP string, port int) (bool, error)

PeerExistsG checks if the Peer row exists.

func Peers

func Peers(mods ...qm.QueryMod) peerQuery

Peers retrieves all the records using an executor.

func PublishqueueExists

func PublishqueueExists(exec boil.Executor, ledger int) (bool, error)

PublishqueueExists checks if the Publishqueue row exists.

func PublishqueueExistsG

func PublishqueueExistsG(ledger int) (bool, error)

PublishqueueExistsG checks if the Publishqueue row exists.

func Publishqueues

func Publishqueues(mods ...qm.QueryMod) publishqueueQuery

Publishqueues retrieves all the records using an executor.

func PubsubExists

func PubsubExists(exec boil.Executor, resid string) (bool, error)

PubsubExists checks if the Pubsub row exists.

func PubsubExistsG

func PubsubExistsG(resid string) (bool, error)

PubsubExistsG checks if the Pubsub row exists.

func Pubsubs

func Pubsubs(mods ...qm.QueryMod) pubsubQuery

Pubsubs retrieves all the records using an executor.

func ScpquorumExists

func ScpquorumExists(exec boil.Executor, qsethash string) (bool, error)

ScpquorumExists checks if the Scpquorum row exists.

func ScpquorumExistsG

func ScpquorumExistsG(qsethash string) (bool, error)

ScpquorumExistsG checks if the Scpquorum row exists.

func Scpquorums

func Scpquorums(mods ...qm.QueryMod) scpquorumQuery

Scpquorums retrieves all the records using an executor.

func SignerExists

func SignerExists(exec boil.Executor, accountid string, publickey string) (bool, error)

SignerExists checks if the Signer row exists.

func SignerExistsG

func SignerExistsG(accountid string, publickey string) (bool, error)

SignerExistsG checks if the Signer row exists.

func Signers

func Signers(mods ...qm.QueryMod) signerQuery

Signers retrieves all the records using an executor.

func StorestateExists

func StorestateExists(exec boil.Executor, statename string) (bool, error)

StorestateExists checks if the Storestate row exists.

func StorestateExistsG

func StorestateExistsG(statename string) (bool, error)

StorestateExistsG checks if the Storestate row exists.

func Storestates

func Storestates(mods ...qm.QueryMod) storestateQuery

Storestates retrieves all the records using an executor.

func TrustlineExists

func TrustlineExists(exec boil.Executor, accountid string, issuer string, assetcode string) (bool, error)

TrustlineExists checks if the Trustline row exists.

func TrustlineExistsG

func TrustlineExistsG(accountid string, issuer string, assetcode string) (bool, error)

TrustlineExistsG checks if the Trustline row exists.

func Trustlines

func Trustlines(mods ...qm.QueryMod) trustlineQuery

Trustlines retrieves all the records using an executor.

func Txfeehistories

func Txfeehistories(mods ...qm.QueryMod) txfeehistoryQuery

Txfeehistories retrieves all the records using an executor.

func TxfeehistoryExists

func TxfeehistoryExists(exec boil.Executor, ledgerseq int, txindex int) (bool, error)

TxfeehistoryExists checks if the Txfeehistory row exists.

func TxfeehistoryExistsG

func TxfeehistoryExistsG(ledgerseq int, txindex int) (bool, error)

TxfeehistoryExistsG checks if the Txfeehistory row exists.

func Txhistories

func Txhistories(mods ...qm.QueryMod) txhistoryQuery

Txhistories retrieves all the records using an executor.

func TxhistoryExists

func TxhistoryExists(exec boil.Executor, ledgerseq int, txindex int) (bool, error)

TxhistoryExists checks if the Txhistory row exists.

func TxhistoryExistsG

func TxhistoryExistsG(ledgerseq int, txindex int) (bool, error)

TxhistoryExistsG checks if the Txhistory row exists.

Types

type Account

type Account struct {
	Accountid     string      `boil:"accountid" json:"accountid" toml:"accountid" yaml:"accountid"`
	Balance       int64       `boil:"balance" json:"balance" toml:"balance" yaml:"balance"`
	Seqnum        int64       `boil:"seqnum" json:"seqnum" toml:"seqnum" yaml:"seqnum"`
	Numsubentries int         `boil:"numsubentries" json:"numsubentries" toml:"numsubentries" yaml:"numsubentries"`
	Inflationdest null.String `boil:"inflationdest" json:"inflationdest,omitempty" toml:"inflationdest" yaml:"inflationdest,omitempty"`
	Homedomain    string      `boil:"homedomain" json:"homedomain" toml:"homedomain" yaml:"homedomain"`
	Thresholds    string      `boil:"thresholds" json:"thresholds" toml:"thresholds" yaml:"thresholds"`
	Flags         int         `boil:"flags" json:"flags" toml:"flags" yaml:"flags"`
	Lastmodified  int         `boil:"lastmodified" json:"lastmodified" toml:"lastmodified" yaml:"lastmodified"`

	R *accountR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L accountL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Account is an object representing the database table.

func FindAccount

func FindAccount(exec boil.Executor, accountid string, selectCols ...string) (*Account, error)

FindAccount retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAccountG

func FindAccountG(accountid string, selectCols ...string) (*Account, error)

FindAccountG retrieves a single record by ID.

func (*Account) Delete

func (o *Account) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Account record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Account) DeleteG

func (o *Account) DeleteG() (int64, error)

DeleteG deletes a single Account record. DeleteG will match against the primary key column to find the record to delete.

func (*Account) Insert

func (o *Account) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Account) InsertG

func (o *Account) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Account) Reload

func (o *Account) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Account) ReloadG

func (o *Account) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Account) Update

func (o *Account) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Account. 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 (*Account) UpdateG

func (o *Account) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Account record using the global executor. See Update for more documentation.

func (*Account) Upsert

func (o *Account) Upsert(exec boil.Executor, 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.

func (*Account) UpsertG

func (o *Account) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type AccountHook

type AccountHook func(boil.Executor, *Account) error

AccountHook is the signature for custom Account hook methods

type AccountSlice

type AccountSlice []*Account

AccountSlice is an alias for a slice of pointers to Account. This should generally be used opposed to []Account.

func (AccountSlice) DeleteAll

func (o AccountSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (AccountSlice) DeleteAllG

func (o AccountSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*AccountSlice) ReloadAll

func (o *AccountSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AccountSlice) ReloadAllG

func (o *AccountSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AccountSlice) UpdateAll

func (o AccountSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AccountSlice) UpdateAllG

func (o AccountSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Accountdatum

type Accountdatum struct {
	Accountid    string `boil:"accountid" json:"accountid" toml:"accountid" yaml:"accountid"`
	Dataname     string `boil:"dataname" json:"dataname" toml:"dataname" yaml:"dataname"`
	Datavalue    string `boil:"datavalue" json:"datavalue" toml:"datavalue" yaml:"datavalue"`
	Lastmodified int    `boil:"lastmodified" json:"lastmodified" toml:"lastmodified" yaml:"lastmodified"`

	R *accountdatumR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L accountdatumL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Accountdatum is an object representing the database table.

func FindAccountdatum

func FindAccountdatum(exec boil.Executor, accountid string, dataname string, selectCols ...string) (*Accountdatum, error)

FindAccountdatum retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAccountdatumG

func FindAccountdatumG(accountid string, dataname string, selectCols ...string) (*Accountdatum, error)

FindAccountdatumG retrieves a single record by ID.

func (*Accountdatum) Delete

func (o *Accountdatum) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Accountdatum record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Accountdatum) DeleteG

func (o *Accountdatum) DeleteG() (int64, error)

DeleteG deletes a single Accountdatum record. DeleteG will match against the primary key column to find the record to delete.

func (*Accountdatum) Insert

func (o *Accountdatum) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Accountdatum) InsertG

func (o *Accountdatum) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Accountdatum) Reload

func (o *Accountdatum) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Accountdatum) ReloadG

func (o *Accountdatum) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Accountdatum) Update

func (o *Accountdatum) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Accountdatum. 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 (*Accountdatum) UpdateG

func (o *Accountdatum) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Accountdatum record using the global executor. See Update for more documentation.

func (*Accountdatum) Upsert

func (o *Accountdatum) Upsert(exec boil.Executor, 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.

func (*Accountdatum) UpsertG

func (o *Accountdatum) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type AccountdatumHook

type AccountdatumHook func(boil.Executor, *Accountdatum) error

AccountdatumHook is the signature for custom Accountdatum hook methods

type AccountdatumSlice

type AccountdatumSlice []*Accountdatum

AccountdatumSlice is an alias for a slice of pointers to Accountdatum. This should generally be used opposed to []Accountdatum.

func (AccountdatumSlice) DeleteAll

func (o AccountdatumSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (AccountdatumSlice) DeleteAllG

func (o AccountdatumSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*AccountdatumSlice) ReloadAll

func (o *AccountdatumSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AccountdatumSlice) ReloadAllG

func (o *AccountdatumSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AccountdatumSlice) UpdateAll

func (o AccountdatumSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AccountdatumSlice) UpdateAllG

func (o AccountdatumSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Ban

type Ban struct {
	Nodeid string `boil:"nodeid" json:"nodeid" toml:"nodeid" yaml:"nodeid"`

	R *banR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L banL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Ban is an object representing the database table.

func FindBan

func FindBan(exec boil.Executor, nodeid string, selectCols ...string) (*Ban, error)

FindBan retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindBanG

func FindBanG(nodeid string, selectCols ...string) (*Ban, error)

FindBanG retrieves a single record by ID.

func (*Ban) Delete

func (o *Ban) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Ban record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Ban) DeleteG

func (o *Ban) DeleteG() (int64, error)

DeleteG deletes a single Ban record. DeleteG will match against the primary key column to find the record to delete.

func (*Ban) Insert

func (o *Ban) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Ban) InsertG

func (o *Ban) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Ban) Reload

func (o *Ban) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Ban) ReloadG

func (o *Ban) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Ban) Update

func (o *Ban) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Ban. 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 (*Ban) UpdateG

func (o *Ban) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Ban record using the global executor. See Update for more documentation.

func (*Ban) Upsert

func (o *Ban) Upsert(exec boil.Executor, 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.

func (*Ban) UpsertG

func (o *Ban) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type BanHook

type BanHook func(boil.Executor, *Ban) error

BanHook is the signature for custom Ban hook methods

type BanSlice

type BanSlice []*Ban

BanSlice is an alias for a slice of pointers to Ban. This should generally be used opposed to []Ban.

func (BanSlice) DeleteAll

func (o BanSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (BanSlice) DeleteAllG

func (o BanSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*BanSlice) ReloadAll

func (o *BanSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*BanSlice) ReloadAllG

func (o *BanSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BanSlice) UpdateAll

func (o BanSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (BanSlice) UpdateAllG

func (o BanSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Ledgerheader

type Ledgerheader struct {
	Ledgerhash     string   `boil:"ledgerhash" json:"ledgerhash" toml:"ledgerhash" yaml:"ledgerhash"`
	Prevhash       string   `boil:"prevhash" json:"prevhash" toml:"prevhash" yaml:"prevhash"`
	Bucketlisthash string   `boil:"bucketlisthash" json:"bucketlisthash" toml:"bucketlisthash" yaml:"bucketlisthash"`
	Ledgerseq      null.Int `boil:"ledgerseq" json:"ledgerseq,omitempty" toml:"ledgerseq" yaml:"ledgerseq,omitempty"`
	Closetime      int64    `boil:"closetime" json:"closetime" toml:"closetime" yaml:"closetime"`
	Data           string   `boil:"data" json:"data" toml:"data" yaml:"data"`

	R *ledgerheaderR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L ledgerheaderL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Ledgerheader is an object representing the database table.

func FindLedgerheader

func FindLedgerheader(exec boil.Executor, ledgerhash string, selectCols ...string) (*Ledgerheader, error)

FindLedgerheader retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindLedgerheaderG

func FindLedgerheaderG(ledgerhash string, selectCols ...string) (*Ledgerheader, error)

FindLedgerheaderG retrieves a single record by ID.

func (*Ledgerheader) Delete

func (o *Ledgerheader) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Ledgerheader record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Ledgerheader) DeleteG

func (o *Ledgerheader) DeleteG() (int64, error)

DeleteG deletes a single Ledgerheader record. DeleteG will match against the primary key column to find the record to delete.

func (*Ledgerheader) Insert

func (o *Ledgerheader) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Ledgerheader) InsertG

func (o *Ledgerheader) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Ledgerheader) Reload

func (o *Ledgerheader) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Ledgerheader) ReloadG

func (o *Ledgerheader) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Ledgerheader) Update

func (o *Ledgerheader) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Ledgerheader. 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 (*Ledgerheader) UpdateG

func (o *Ledgerheader) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Ledgerheader record using the global executor. See Update for more documentation.

func (*Ledgerheader) Upsert

func (o *Ledgerheader) Upsert(exec boil.Executor, 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.

func (*Ledgerheader) UpsertG

func (o *Ledgerheader) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type LedgerheaderHook

type LedgerheaderHook func(boil.Executor, *Ledgerheader) error

LedgerheaderHook is the signature for custom Ledgerheader hook methods

type LedgerheaderSlice

type LedgerheaderSlice []*Ledgerheader

LedgerheaderSlice is an alias for a slice of pointers to Ledgerheader. This should generally be used opposed to []Ledgerheader.

func (LedgerheaderSlice) DeleteAll

func (o LedgerheaderSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (LedgerheaderSlice) DeleteAllG

func (o LedgerheaderSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*LedgerheaderSlice) ReloadAll

func (o *LedgerheaderSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*LedgerheaderSlice) ReloadAllG

func (o *LedgerheaderSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (LedgerheaderSlice) UpdateAll

func (o LedgerheaderSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (LedgerheaderSlice) UpdateAllG

func (o LedgerheaderSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type M

type M map[string]interface{}

M type is for providing columns and column values to UpdateAll.

type Offer

type Offer struct {
	Sellerid         string      `boil:"sellerid" json:"sellerid" toml:"sellerid" yaml:"sellerid"`
	Offerid          int64       `boil:"offerid" json:"offerid" toml:"offerid" yaml:"offerid"`
	Sellingassettype int         `boil:"sellingassettype" json:"sellingassettype" toml:"sellingassettype" yaml:"sellingassettype"`
	Sellingassetcode null.String `boil:"sellingassetcode" json:"sellingassetcode,omitempty" toml:"sellingassetcode" yaml:"sellingassetcode,omitempty"`
	Sellingissuer    null.String `boil:"sellingissuer" json:"sellingissuer,omitempty" toml:"sellingissuer" yaml:"sellingissuer,omitempty"`
	Buyingassettype  int         `boil:"buyingassettype" json:"buyingassettype" toml:"buyingassettype" yaml:"buyingassettype"`
	Buyingassetcode  null.String `boil:"buyingassetcode" json:"buyingassetcode,omitempty" toml:"buyingassetcode" yaml:"buyingassetcode,omitempty"`
	Buyingissuer     null.String `boil:"buyingissuer" json:"buyingissuer,omitempty" toml:"buyingissuer" yaml:"buyingissuer,omitempty"`
	Amount           int64       `boil:"amount" json:"amount" toml:"amount" yaml:"amount"`
	Pricen           int         `boil:"pricen" json:"pricen" toml:"pricen" yaml:"pricen"`
	Priced           int         `boil:"priced" json:"priced" toml:"priced" yaml:"priced"`
	Price            float64     `boil:"price" json:"price" toml:"price" yaml:"price"`
	Flags            int         `boil:"flags" json:"flags" toml:"flags" yaml:"flags"`
	Lastmodified     int         `boil:"lastmodified" json:"lastmodified" toml:"lastmodified" yaml:"lastmodified"`

	R *offerR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L offerL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Offer is an object representing the database table.

func FindOffer

func FindOffer(exec boil.Executor, offerid int64, selectCols ...string) (*Offer, error)

FindOffer retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindOfferG

func FindOfferG(offerid int64, selectCols ...string) (*Offer, error)

FindOfferG retrieves a single record by ID.

func (*Offer) Delete

func (o *Offer) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Offer record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Offer) DeleteG

func (o *Offer) DeleteG() (int64, error)

DeleteG deletes a single Offer record. DeleteG will match against the primary key column to find the record to delete.

func (*Offer) Insert

func (o *Offer) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Offer) InsertG

func (o *Offer) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Offer) Reload

func (o *Offer) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Offer) ReloadG

func (o *Offer) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Offer) Update

func (o *Offer) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Offer. 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 (*Offer) UpdateG

func (o *Offer) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Offer record using the global executor. See Update for more documentation.

func (*Offer) Upsert

func (o *Offer) Upsert(exec boil.Executor, 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.

func (*Offer) UpsertG

func (o *Offer) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type OfferHook

type OfferHook func(boil.Executor, *Offer) error

OfferHook is the signature for custom Offer hook methods

type OfferSlice

type OfferSlice []*Offer

OfferSlice is an alias for a slice of pointers to Offer. This should generally be used opposed to []Offer.

func (OfferSlice) DeleteAll

func (o OfferSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (OfferSlice) DeleteAllG

func (o OfferSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*OfferSlice) ReloadAll

func (o *OfferSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*OfferSlice) ReloadAllG

func (o *OfferSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (OfferSlice) UpdateAll

func (o OfferSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (OfferSlice) UpdateAllG

func (o OfferSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Peer

type Peer struct {
	IP          string    `boil:"ip" json:"ip" toml:"ip" yaml:"ip"`
	Port        int       `boil:"port" json:"port" toml:"port" yaml:"port"`
	Nextattempt time.Time `boil:"nextattempt" json:"nextattempt" toml:"nextattempt" yaml:"nextattempt"`
	Numfailures int       `boil:"numfailures" json:"numfailures" toml:"numfailures" yaml:"numfailures"`
	Flags       int       `boil:"flags" json:"flags" toml:"flags" yaml:"flags"`

	R *peerR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L peerL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Peer is an object representing the database table.

func FindPeer

func FindPeer(exec boil.Executor, iP string, port int, selectCols ...string) (*Peer, error)

FindPeer retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindPeerG

func FindPeerG(iP string, port int, selectCols ...string) (*Peer, error)

FindPeerG retrieves a single record by ID.

func (*Peer) Delete

func (o *Peer) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Peer record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Peer) DeleteG

func (o *Peer) DeleteG() (int64, error)

DeleteG deletes a single Peer record. DeleteG will match against the primary key column to find the record to delete.

func (*Peer) Insert

func (o *Peer) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Peer) InsertG

func (o *Peer) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Peer) Reload

func (o *Peer) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Peer) ReloadG

func (o *Peer) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Peer) Update

func (o *Peer) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Peer. 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 (*Peer) UpdateG

func (o *Peer) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Peer record using the global executor. See Update for more documentation.

func (*Peer) Upsert

func (o *Peer) Upsert(exec boil.Executor, 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.

func (*Peer) UpsertG

func (o *Peer) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type PeerHook

type PeerHook func(boil.Executor, *Peer) error

PeerHook is the signature for custom Peer hook methods

type PeerSlice

type PeerSlice []*Peer

PeerSlice is an alias for a slice of pointers to Peer. This should generally be used opposed to []Peer.

func (PeerSlice) DeleteAll

func (o PeerSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (PeerSlice) DeleteAllG

func (o PeerSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*PeerSlice) ReloadAll

func (o *PeerSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*PeerSlice) ReloadAllG

func (o *PeerSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (PeerSlice) UpdateAll

func (o PeerSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (PeerSlice) UpdateAllG

func (o PeerSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Publishqueue

type Publishqueue struct {
	Ledger int         `boil:"ledger" json:"ledger" toml:"ledger" yaml:"ledger"`
	State  null.String `boil:"state" json:"state,omitempty" toml:"state" yaml:"state,omitempty"`

	R *publishqueueR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L publishqueueL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Publishqueue is an object representing the database table.

func FindPublishqueue

func FindPublishqueue(exec boil.Executor, ledger int, selectCols ...string) (*Publishqueue, error)

FindPublishqueue retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindPublishqueueG

func FindPublishqueueG(ledger int, selectCols ...string) (*Publishqueue, error)

FindPublishqueueG retrieves a single record by ID.

func (*Publishqueue) Delete

func (o *Publishqueue) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Publishqueue record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Publishqueue) DeleteG

func (o *Publishqueue) DeleteG() (int64, error)

DeleteG deletes a single Publishqueue record. DeleteG will match against the primary key column to find the record to delete.

func (*Publishqueue) Insert

func (o *Publishqueue) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Publishqueue) InsertG

func (o *Publishqueue) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Publishqueue) Reload

func (o *Publishqueue) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Publishqueue) ReloadG

func (o *Publishqueue) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Publishqueue) Update

func (o *Publishqueue) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Publishqueue. 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 (*Publishqueue) UpdateG

func (o *Publishqueue) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Publishqueue record using the global executor. See Update for more documentation.

func (*Publishqueue) Upsert

func (o *Publishqueue) Upsert(exec boil.Executor, 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.

func (*Publishqueue) UpsertG

func (o *Publishqueue) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type PublishqueueHook

type PublishqueueHook func(boil.Executor, *Publishqueue) error

PublishqueueHook is the signature for custom Publishqueue hook methods

type PublishqueueSlice

type PublishqueueSlice []*Publishqueue

PublishqueueSlice is an alias for a slice of pointers to Publishqueue. This should generally be used opposed to []Publishqueue.

func (PublishqueueSlice) DeleteAll

func (o PublishqueueSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (PublishqueueSlice) DeleteAllG

func (o PublishqueueSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*PublishqueueSlice) ReloadAll

func (o *PublishqueueSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*PublishqueueSlice) ReloadAllG

func (o *PublishqueueSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (PublishqueueSlice) UpdateAll

func (o PublishqueueSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (PublishqueueSlice) UpdateAllG

func (o PublishqueueSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Pubsub

type Pubsub struct {
	Resid    string   `boil:"resid" json:"resid" toml:"resid" yaml:"resid"`
	Lastread null.Int `boil:"lastread" json:"lastread,omitempty" toml:"lastread" yaml:"lastread,omitempty"`

	R *pubsubR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pubsubL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Pubsub is an object representing the database table.

func FindPubsub

func FindPubsub(exec boil.Executor, resid string, selectCols ...string) (*Pubsub, error)

FindPubsub retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindPubsubG

func FindPubsubG(resid string, selectCols ...string) (*Pubsub, error)

FindPubsubG retrieves a single record by ID.

func (*Pubsub) Delete

func (o *Pubsub) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Pubsub record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Pubsub) DeleteG

func (o *Pubsub) DeleteG() (int64, error)

DeleteG deletes a single Pubsub record. DeleteG will match against the primary key column to find the record to delete.

func (*Pubsub) Insert

func (o *Pubsub) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Pubsub) InsertG

func (o *Pubsub) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Pubsub) Reload

func (o *Pubsub) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Pubsub) ReloadG

func (o *Pubsub) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Pubsub) Update

func (o *Pubsub) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Pubsub. 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 (*Pubsub) UpdateG

func (o *Pubsub) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Pubsub record using the global executor. See Update for more documentation.

func (*Pubsub) Upsert

func (o *Pubsub) Upsert(exec boil.Executor, 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.

func (*Pubsub) UpsertG

func (o *Pubsub) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type PubsubHook

type PubsubHook func(boil.Executor, *Pubsub) error

PubsubHook is the signature for custom Pubsub hook methods

type PubsubSlice

type PubsubSlice []*Pubsub

PubsubSlice is an alias for a slice of pointers to Pubsub. This should generally be used opposed to []Pubsub.

func (PubsubSlice) DeleteAll

func (o PubsubSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (PubsubSlice) DeleteAllG

func (o PubsubSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*PubsubSlice) ReloadAll

func (o *PubsubSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*PubsubSlice) ReloadAllG

func (o *PubsubSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (PubsubSlice) UpdateAll

func (o PubsubSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (PubsubSlice) UpdateAllG

func (o PubsubSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Scpquorum

type Scpquorum struct {
	Qsethash      string `boil:"qsethash" json:"qsethash" toml:"qsethash" yaml:"qsethash"`
	Lastledgerseq int    `boil:"lastledgerseq" json:"lastledgerseq" toml:"lastledgerseq" yaml:"lastledgerseq"`
	Qset          string `boil:"qset" json:"qset" toml:"qset" yaml:"qset"`

	R *scpquorumR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L scpquorumL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Scpquorum is an object representing the database table.

func FindScpquorum

func FindScpquorum(exec boil.Executor, qsethash string, selectCols ...string) (*Scpquorum, error)

FindScpquorum retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindScpquorumG

func FindScpquorumG(qsethash string, selectCols ...string) (*Scpquorum, error)

FindScpquorumG retrieves a single record by ID.

func (*Scpquorum) Delete

func (o *Scpquorum) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Scpquorum record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Scpquorum) DeleteG

func (o *Scpquorum) DeleteG() (int64, error)

DeleteG deletes a single Scpquorum record. DeleteG will match against the primary key column to find the record to delete.

func (*Scpquorum) Insert

func (o *Scpquorum) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Scpquorum) InsertG

func (o *Scpquorum) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Scpquorum) Reload

func (o *Scpquorum) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Scpquorum) ReloadG

func (o *Scpquorum) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Scpquorum) Update

func (o *Scpquorum) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Scpquorum. 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 (*Scpquorum) UpdateG

func (o *Scpquorum) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Scpquorum record using the global executor. See Update for more documentation.

func (*Scpquorum) Upsert

func (o *Scpquorum) Upsert(exec boil.Executor, 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.

func (*Scpquorum) UpsertG

func (o *Scpquorum) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type ScpquorumHook

type ScpquorumHook func(boil.Executor, *Scpquorum) error

ScpquorumHook is the signature for custom Scpquorum hook methods

type ScpquorumSlice

type ScpquorumSlice []*Scpquorum

ScpquorumSlice is an alias for a slice of pointers to Scpquorum. This should generally be used opposed to []Scpquorum.

func (ScpquorumSlice) DeleteAll

func (o ScpquorumSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (ScpquorumSlice) DeleteAllG

func (o ScpquorumSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*ScpquorumSlice) ReloadAll

func (o *ScpquorumSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*ScpquorumSlice) ReloadAllG

func (o *ScpquorumSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ScpquorumSlice) UpdateAll

func (o ScpquorumSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (ScpquorumSlice) UpdateAllG

func (o ScpquorumSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Signer

type Signer struct {
	Accountid string `boil:"accountid" json:"accountid" toml:"accountid" yaml:"accountid"`
	Publickey string `boil:"publickey" json:"publickey" toml:"publickey" yaml:"publickey"`
	Weight    int    `boil:"weight" json:"weight" toml:"weight" yaml:"weight"`

	R *signerR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L signerL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Signer is an object representing the database table.

func FindSigner

func FindSigner(exec boil.Executor, accountid string, publickey string, selectCols ...string) (*Signer, error)

FindSigner retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindSignerG

func FindSignerG(accountid string, publickey string, selectCols ...string) (*Signer, error)

FindSignerG retrieves a single record by ID.

func (*Signer) Delete

func (o *Signer) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Signer record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Signer) DeleteG

func (o *Signer) DeleteG() (int64, error)

DeleteG deletes a single Signer record. DeleteG will match against the primary key column to find the record to delete.

func (*Signer) Insert

func (o *Signer) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Signer) InsertG

func (o *Signer) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Signer) Reload

func (o *Signer) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Signer) ReloadG

func (o *Signer) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Signer) Update

func (o *Signer) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Signer. 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 (*Signer) UpdateG

func (o *Signer) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Signer record using the global executor. See Update for more documentation.

func (*Signer) Upsert

func (o *Signer) Upsert(exec boil.Executor, 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.

func (*Signer) UpsertG

func (o *Signer) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type SignerHook

type SignerHook func(boil.Executor, *Signer) error

SignerHook is the signature for custom Signer hook methods

type SignerSlice

type SignerSlice []*Signer

SignerSlice is an alias for a slice of pointers to Signer. This should generally be used opposed to []Signer.

func (SignerSlice) DeleteAll

func (o SignerSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (SignerSlice) DeleteAllG

func (o SignerSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*SignerSlice) ReloadAll

func (o *SignerSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*SignerSlice) ReloadAllG

func (o *SignerSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (SignerSlice) UpdateAll

func (o SignerSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (SignerSlice) UpdateAllG

func (o SignerSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Storestate

type Storestate struct {
	Statename string      `boil:"statename" json:"statename" toml:"statename" yaml:"statename"`
	State     null.String `boil:"state" json:"state,omitempty" toml:"state" yaml:"state,omitempty"`

	R *storestateR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L storestateL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Storestate is an object representing the database table.

func FindStorestate

func FindStorestate(exec boil.Executor, statename string, selectCols ...string) (*Storestate, error)

FindStorestate retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindStorestateG

func FindStorestateG(statename string, selectCols ...string) (*Storestate, error)

FindStorestateG retrieves a single record by ID.

func (*Storestate) Delete

func (o *Storestate) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Storestate record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Storestate) DeleteG

func (o *Storestate) DeleteG() (int64, error)

DeleteG deletes a single Storestate record. DeleteG will match against the primary key column to find the record to delete.

func (*Storestate) Insert

func (o *Storestate) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Storestate) InsertG

func (o *Storestate) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Storestate) Reload

func (o *Storestate) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Storestate) ReloadG

func (o *Storestate) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Storestate) Update

func (o *Storestate) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Storestate. 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 (*Storestate) UpdateG

func (o *Storestate) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Storestate record using the global executor. See Update for more documentation.

func (*Storestate) Upsert

func (o *Storestate) Upsert(exec boil.Executor, 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.

func (*Storestate) UpsertG

func (o *Storestate) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type StorestateHook

type StorestateHook func(boil.Executor, *Storestate) error

StorestateHook is the signature for custom Storestate hook methods

type StorestateSlice

type StorestateSlice []*Storestate

StorestateSlice is an alias for a slice of pointers to Storestate. This should generally be used opposed to []Storestate.

func (StorestateSlice) DeleteAll

func (o StorestateSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (StorestateSlice) DeleteAllG

func (o StorestateSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*StorestateSlice) ReloadAll

func (o *StorestateSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*StorestateSlice) ReloadAllG

func (o *StorestateSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (StorestateSlice) UpdateAll

func (o StorestateSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (StorestateSlice) UpdateAllG

func (o StorestateSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Trustline

type Trustline struct {
	Accountid    string `boil:"accountid" json:"accountid" toml:"accountid" yaml:"accountid"`
	Assettype    int    `boil:"assettype" json:"assettype" toml:"assettype" yaml:"assettype"`
	Issuer       string `boil:"issuer" json:"issuer" toml:"issuer" yaml:"issuer"`
	Assetcode    string `boil:"assetcode" json:"assetcode" toml:"assetcode" yaml:"assetcode"`
	Tlimit       int64  `boil:"tlimit" json:"tlimit" toml:"tlimit" yaml:"tlimit"`
	Balance      int64  `boil:"balance" json:"balance" toml:"balance" yaml:"balance"`
	Flags        int    `boil:"flags" json:"flags" toml:"flags" yaml:"flags"`
	Lastmodified int    `boil:"lastmodified" json:"lastmodified" toml:"lastmodified" yaml:"lastmodified"`

	R *trustlineR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L trustlineL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Trustline is an object representing the database table.

func FindTrustline

func FindTrustline(exec boil.Executor, accountid string, issuer string, assetcode string, selectCols ...string) (*Trustline, error)

FindTrustline retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindTrustlineG

func FindTrustlineG(accountid string, issuer string, assetcode string, selectCols ...string) (*Trustline, error)

FindTrustlineG retrieves a single record by ID.

func (*Trustline) Delete

func (o *Trustline) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Trustline record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Trustline) DeleteG

func (o *Trustline) DeleteG() (int64, error)

DeleteG deletes a single Trustline record. DeleteG will match against the primary key column to find the record to delete.

func (*Trustline) Insert

func (o *Trustline) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Trustline) InsertG

func (o *Trustline) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Trustline) Reload

func (o *Trustline) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Trustline) ReloadG

func (o *Trustline) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Trustline) Update

func (o *Trustline) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Trustline. 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 (*Trustline) UpdateG

func (o *Trustline) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Trustline record using the global executor. See Update for more documentation.

func (*Trustline) Upsert

func (o *Trustline) Upsert(exec boil.Executor, 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.

func (*Trustline) UpsertG

func (o *Trustline) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type TrustlineHook

type TrustlineHook func(boil.Executor, *Trustline) error

TrustlineHook is the signature for custom Trustline hook methods

type TrustlineSlice

type TrustlineSlice []*Trustline

TrustlineSlice is an alias for a slice of pointers to Trustline. This should generally be used opposed to []Trustline.

func (TrustlineSlice) DeleteAll

func (o TrustlineSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (TrustlineSlice) DeleteAllG

func (o TrustlineSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*TrustlineSlice) ReloadAll

func (o *TrustlineSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*TrustlineSlice) ReloadAllG

func (o *TrustlineSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (TrustlineSlice) UpdateAll

func (o TrustlineSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (TrustlineSlice) UpdateAllG

func (o TrustlineSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Txfeehistory

type Txfeehistory struct {
	Txid      string `boil:"txid" json:"txid" toml:"txid" yaml:"txid"`
	Ledgerseq int    `boil:"ledgerseq" json:"ledgerseq" toml:"ledgerseq" yaml:"ledgerseq"`
	Txindex   int    `boil:"txindex" json:"txindex" toml:"txindex" yaml:"txindex"`
	Txchanges string `boil:"txchanges" json:"txchanges" toml:"txchanges" yaml:"txchanges"`

	R *txfeehistoryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L txfeehistoryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Txfeehistory is an object representing the database table.

func FindTxfeehistory

func FindTxfeehistory(exec boil.Executor, ledgerseq int, txindex int, selectCols ...string) (*Txfeehistory, error)

FindTxfeehistory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindTxfeehistoryG

func FindTxfeehistoryG(ledgerseq int, txindex int, selectCols ...string) (*Txfeehistory, error)

FindTxfeehistoryG retrieves a single record by ID.

func (*Txfeehistory) Delete

func (o *Txfeehistory) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Txfeehistory record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Txfeehistory) DeleteG

func (o *Txfeehistory) DeleteG() (int64, error)

DeleteG deletes a single Txfeehistory record. DeleteG will match against the primary key column to find the record to delete.

func (*Txfeehistory) Insert

func (o *Txfeehistory) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Txfeehistory) InsertG

func (o *Txfeehistory) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Txfeehistory) Reload

func (o *Txfeehistory) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Txfeehistory) ReloadG

func (o *Txfeehistory) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Txfeehistory) Update

func (o *Txfeehistory) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Txfeehistory. 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 (*Txfeehistory) UpdateG

func (o *Txfeehistory) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Txfeehistory record using the global executor. See Update for more documentation.

func (*Txfeehistory) Upsert

func (o *Txfeehistory) Upsert(exec boil.Executor, 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.

func (*Txfeehistory) UpsertG

func (o *Txfeehistory) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type TxfeehistoryHook

type TxfeehistoryHook func(boil.Executor, *Txfeehistory) error

TxfeehistoryHook is the signature for custom Txfeehistory hook methods

type TxfeehistorySlice

type TxfeehistorySlice []*Txfeehistory

TxfeehistorySlice is an alias for a slice of pointers to Txfeehistory. This should generally be used opposed to []Txfeehistory.

func (TxfeehistorySlice) DeleteAll

func (o TxfeehistorySlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (TxfeehistorySlice) DeleteAllG

func (o TxfeehistorySlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*TxfeehistorySlice) ReloadAll

func (o *TxfeehistorySlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*TxfeehistorySlice) ReloadAllG

func (o *TxfeehistorySlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (TxfeehistorySlice) UpdateAll

func (o TxfeehistorySlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (TxfeehistorySlice) UpdateAllG

func (o TxfeehistorySlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Txhistory

type Txhistory struct {
	Txid      string `boil:"txid" json:"txid" toml:"txid" yaml:"txid"`
	Ledgerseq int    `boil:"ledgerseq" json:"ledgerseq" toml:"ledgerseq" yaml:"ledgerseq"`
	Txindex   int    `boil:"txindex" json:"txindex" toml:"txindex" yaml:"txindex"`
	Txbody    string `boil:"txbody" json:"txbody" toml:"txbody" yaml:"txbody"`
	Txresult  string `boil:"txresult" json:"txresult" toml:"txresult" yaml:"txresult"`
	Txmeta    string `boil:"txmeta" json:"txmeta" toml:"txmeta" yaml:"txmeta"`

	R *txhistoryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L txhistoryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Txhistory is an object representing the database table.

func FindTxhistory

func FindTxhistory(exec boil.Executor, ledgerseq int, txindex int, selectCols ...string) (*Txhistory, error)

FindTxhistory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindTxhistoryG

func FindTxhistoryG(ledgerseq int, txindex int, selectCols ...string) (*Txhistory, error)

FindTxhistoryG retrieves a single record by ID.

func (*Txhistory) Delete

func (o *Txhistory) Delete(exec boil.Executor) (int64, error)

Delete deletes a single Txhistory record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Txhistory) DeleteG

func (o *Txhistory) DeleteG() (int64, error)

DeleteG deletes a single Txhistory record. DeleteG will match against the primary key column to find the record to delete.

func (*Txhistory) Insert

func (o *Txhistory) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Txhistory) InsertG

func (o *Txhistory) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Txhistory) Reload

func (o *Txhistory) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Txhistory) ReloadG

func (o *Txhistory) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Txhistory) Update

func (o *Txhistory) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the Txhistory. 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 (*Txhistory) UpdateG

func (o *Txhistory) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single Txhistory record using the global executor. See Update for more documentation.

func (*Txhistory) Upsert

func (o *Txhistory) Upsert(exec boil.Executor, 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.

func (*Txhistory) UpsertG

func (o *Txhistory) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type TxhistoryHook

type TxhistoryHook func(boil.Executor, *Txhistory) error

TxhistoryHook is the signature for custom Txhistory hook methods

type TxhistorySlice

type TxhistorySlice []*Txhistory

TxhistorySlice is an alias for a slice of pointers to Txhistory. This should generally be used opposed to []Txhistory.

func (TxhistorySlice) DeleteAll

func (o TxhistorySlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (TxhistorySlice) DeleteAllG

func (o TxhistorySlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*TxhistorySlice) ReloadAll

func (o *TxhistorySlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*TxhistorySlice) ReloadAllG

func (o *TxhistorySlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (TxhistorySlice) UpdateAll

func (o TxhistorySlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (TxhistorySlice) UpdateAllG

func (o TxhistorySlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

Jump to

Keyboard shortcuts

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